Simple Gamepad Navigation

Navigate (almost) any accessible website with a controller.

Autor
miniwangdali
Instalaciones diarias
0
Instalaciones totales
1
Calificaciones
0 0 0
Versión
0.0.1
Creado
07/09/2025
Actualizado
07/09/2025
Tamaño
34.8 KB
Licencia
MIT
Funciona en
Todos los sitios

Simple Gamepad Navigation (Userscript)

Navigate (almost) any accessible website with a controller.

This userscript injects the Simple Gamepad Navigation engine into every page you visit (*://*/*). Once installed in Tampermonkey (or another compatible userscript manager) you can move focus, scroll, activate links & buttons, open context menus, and perform basic keyboard actions using your controller.

[!IMPORTANT]
Only support Xbox style controllers for now.

Button / Axis Mapping (Xbox standard)

Control Behavior
Left Stick / D‑Pad Focus navigation; Increase/Decrease value in slider once entered.
Right Stick Scroll in container of the current focused element. (X → horizontal, Y → vertical)
A Dispatch Enter; Clicks links; Enter slider adjustment;
B Dispatch Escape; Exit slider adjustment;
Left Trigger Dispatch Shift
Right Trigger Dispatch Control
Menu (≡) synthesized right‑click
View + Left Trigger Attempts to close the current window
Bumpers Move to previous/next tab
Bumpers + Right Trigger Navigate back/forward in history

Library

This userscript uses the simple-gamepad-navigation library under the hood. See that package for more details.

License

MIT (see root repository license)

Disclaimer

Experimental. Behavior may change. Some sites may conflict with synthesized events. Use at your own discretion.

Enjoy browsing with your controller.

长期地址
遇到问题?请前往 GitHub 提 Issues。