gkey
A list of human-readable names for Browser-friendly gamepads. Currently only supports generic/XBox-like controllers, but if you have the opportunity to test with others then submit a pull request and I'll merge it in!
Installation
npm install gkey
Usage
See gp-controls for an example implementation.
var generic =var xbox =var gamepad = navigator0console // "<action 1>" 1console // "<a>" 1console // "<axis-left-x>" -0.75console // "<axis-left-x>" -0.75