/joyride

A simple Chrome extension that maps button presses from the Gamepad API to KeyboardEvents.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Joyride 🎮 ➡️ ⌨️

Description

A simple Chrome extension that maps button presses from the Gamepad API to KeyboardEvents.

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.

User installation

Head over to the "Joyride" in the Chrome Web Store. Joyride screenshot - maps the joy-con to the current tab

Developer installation

  • Enable Developer Mode under chrome://extensions
  • Choose "Load unpacked extension…" and select the directory containing this project
  • The button should appear in your top bar. Click to run for the current tab