A JS library that lets you use gamepads and controllers in the browser ↦
This provides easy access to the Gamepad API, which I didn’t even know was a thing. The API is callback-style:
gameControl.on('connect', function(gamepad) {
gamepad.on('up', moveCharacterUp);
});
Discussion
Sign in or Join to comment or subscribe