Use your Gamepad Controller to control media on your PC.
Have a wireless controller lying around? Repurpose it for triggering media actions: play/pause, seek, and control volume.
Note: Gamepad Remote works by mapping your controller buttons to keyboard keys. The media actions are not universal, but work on most major sites/media players (Netflix, Youtube, VLC et. al). The mapping of buttons is based on XBox Wireless Controller.
Gamepad Button | Media Action | Keyboard key mapping |
---|---|---|
A | Play/pause | Spacebar |
Right/Left Arrow | Seek | Right/Left Arrow |
Up/Down Arrow | Vol Control | Up/Down Arrow |
Use npm
to install the package.
npm install -g gamepad-remote
Start the program by:
gamepad-remote.js start
Stop it by:
gamepad-remote.js stop
You can also disable/enable the bindings by pressing: RB + RB + LB + LB.
MIT