How to use the Gamepad Tester
- Connect an Xbox, PlayStation, Switch Pro, or other controller by USB or Bluetooth.
- Press any button; browsers only expose a controller after a button press.
- Press each button and move each stick and trigger, and watch the matching control light up.
- Let the sticks rest untouched to check for drift: at rest, both axes should read close to zero.
How it works
The tester uses the standard Gamepad API, which browsers provide for controllers. It reads every button's pressed state and analogue value, and each stick axis from −1 to +1, many times per second.
Stick drift shows as an axis value that stays noticeably away from zero when the stick is released. Many games ignore small values with a dead zone; readings that stay beyond about 0.1 at rest often cause visible drift in games.
Worked example: checking a drifting stick
With the controller on a table, a healthy left stick reads roughly 0.00 to 0.03 on both axes. If one axis stays at 0.15 or more while untouched, characters in games may creep without input, the classic sign of drift.
Limitations
- Button layouts are reported through the browser's standard mapping. Some controllers, especially older or unusual ones, show buttons in a different order.
- Some browsers do not expose vibration, gyroscope, touchpad, or battery information.
- On phones, controller support depends on the operating system and browser.
Troubleshooting a controller
If a controller is not detected, press a button while the page is focused, since browsers only reveal a gamepad after input. Try a different USB cable or port, and for Bluetooth controllers make sure the device is paired with the computer rather than another console.
If a button appears in the wrong position, the controller may report a non-standard layout. Compare against the raw index shown for each button to see which input your browser receives.
For stick drift, release the stick and watch the axis values. Small readings can often be handled by a dead zone setting in the game. Larger, constant values usually point to wear in the stick mechanism or dirt around it, and cleaning or repair may be needed.
Frequently asked questions
Why isn't my controller detected?
Press a button after connecting it; browsers hide controllers until then. If it still does not appear, reconnect it and try another USB cable or browser.
What causes stick drift?
Usually wear or dirt in the stick's sensors. Cleaning can help temporarily; a worn stick module often needs replacing.