Simple Gamepad Navigation

Navigate (almost) any accessible website with a controller.

当前为 2025-09-07 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
miniwangdali
评分
0 0 0
版本
0.0.1
创建于
2025-09-07
更新于
2025-09-07
大小
34.8 KB
许可证
MIT
适用于
所有网站

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.