A superb library that extends the Gamepad API with super powers.
gamepadconnected
, gamepaddisconnected
gamepadbuttondown
, gamepadbuttonup
, gamepadaxismove
View example of sample usage (source)
Run this command to compile the JavaScript as a standalone module to dist/gamepads.js
:
npm run build
Run this command to publish a new tag to GitHub and version to npm:
npm run release
This program is free software and is distributed under an MIT License.