controller-input
TypeScript icon, indicating that this package has built-in type declarations

0.3.4 • Public • Published

controller-input

Simple, unified user input.

In a browser users have numerous ways to cause input events: they can press a key, move a mouse, touch their screen, or even move a joystick on a gamepad. controller-input abstracts all of this away while exposing a simple Controller model capable of handling and normalizing any input a user sends at it.

Package Sidebar

Install

npm i controller-input

Weekly Downloads

2

Version

0.3.4

License

ISC

Unpacked Size

89.6 kB

Total Files

20

Last publish

Collaborators

  • mjez29