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

0.0.1 • Public • Published

Eft-Input

Generic Keyboard, Mouse and Gamepad input mapping for browser-based applications.

Constants

The basic idea of the library is this:

From the back end, you define mappings referencing a source, key and eventName. The manager then listens for this event to occur and dispatches an eventName'd event out to the exposed interface of the Manager.

From the front side, you define handlers for each eventName to react to any input captured by whatever the active control scheme is.

Package Sidebar

Install

npm i eft-input

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

62.6 kB

Total Files

129

Last publish

Collaborators

  • newtindustries