A simple Chrome extension that maps button presses from the Gamepad
API
to
KeyboardEvent
s.
At the moment, because this is just solving a personal issue, it maps the left/right buttons on a Nintendo Swih Joy-Con to the left/right arrow keys. That means I can use the Joy-Con as a bluetooth clicker to control a presentation. I think that's pretty neat.
TODO: Add configuration for generic mapping of button presses to arbitrary keys.
Head over to the "Joyride" in the Chrome Web Store.
Developer Mode
under chrome://extensions