input-map
v3.1.0
Published
An input manager and utilities for JavaScript/Typescript and React apps.
Downloads
2
Readme
Input Map
An input manager and utilities for JavaScript/Typescript and React apps.
Manage multiple devices (keyboard, gamepad, touch, etc) and assign input mappings (e.g. "Jump" = "Spacebar"). Use React components to add device support (<GamepadInput>
).
Inspired by the Unity input mapping system.
This library is WIP and not intended for production yet. See Roadmap for more info.
How to use
npm i input-map