The browser Gamepad API is how a web-based gamepad tester reads your controller. Pages poll navigator.getGamepads(), listen for connect and disconnect events, and display buttons, axes, mapping strings, and sometimes a vibration actuator. The API does not invent devices. It only exposes pads the operating system already accepts. That design keeps the web safe, but it also means browser tools inherit OS and browser limits.
What the API can do
- Detect connected pads after a user gesture such as a button press.
- Report live button pressed states and analog values for sticks and triggers.
- Expose a mapping hint (often standard for Xbox-style layouts).
- Optionally send dual-rumble when
vibrationActuatorexists and the browser allows it.
Those capabilities are enough for practical diagnostics on the Controller Tester, Stick Drift, Deadzone, Vibration, and Controller Detection pages. Developers inspecting raw snapshots can also use specialized debugger views on this site.
What the API cannot do
- Call native Windows XInput directly from ordinary web pages.
- Write DualSense NVS or permanent firmware calibration without specialized WebHID or vendor tools.
- Guarantee adaptive triggers, touchpad gestures, gyro fusion, or vendor-only haptics.
- Promise identical behavior on every mobile browser.
Missing rumble in Chromium over Bluetooth does not always mean dead motors. Missing adaptive trigger resistance in a browser does not mean the DualSense is broken. Be honest about the layer you are testing: the Gamepad API is a compatibility window, not a full console SDK.
How this site uses the API
Gamepad Tester Pro pages poll gamepads on animation frames, normalize common layouts when mapping is standard, and visualize axes for stick drift and deadzone education. They do not claim to flash firmware. When a pad is absent, follow Controller Not Detected. For Windows connection choices, see Controller on PC and the PC Controller Tester. Drift and deadzone guides explain hardware versus settings: How to Fix Stick Drift and Deadzone Explained.
If you are learning the stack, start with detection, then buttons, then axes, then optional vibration. Read more walkthroughs on the blog and keep expectations matched to what a browser can see. A clear mental model of the Gamepad API turns a gamepad tester from a mystery box into a trustworthy diagnostic tool.