Device & Hardware
Gamepad Test: Buttons, Sticks and Triggers
Connect a controller, press any button to wake it, and watch every button, stick and trigger report its state.
Controller monitor
Connect a controller by USB or Bluetooth, then press any button or move a stick. Browsers hide a pad until it sends input.
- Controller
- -
- Buttons pressed
- 0
- Axes
- -
- Mapping
- -
- Left stick
- -
- Right stick
- -
Button numbers follow the standard mapping used by Chrome, Edge and Firefox. A pad that reports no mapping may label buttons differently.
Press a button on the controller to wake it.
This test runs entirely in your browser. Nothing is uploaded or stored on a server.
What the monitor reads
The Gamepad API exposes a snapshot of every connected controller. The page asks for that snapshot on every animation frame and redraws the tiles, the stick values and the trigger meters from it. Nothing is installed and no driver is needed, because the browser already receives the pad data from the operating system.
Each snapshot contains a name, a mapping label, a list of buttons and a list of axes. The page shows the button count, the axis count and the states that change as you press and move.
Buttons and the numbered tiles
The sixteen tiles follow the standard button order. Button 0 is the bottom face button, 1 is the right face button, 2 the left and 3 the top. Shoulder buttons occupy 4 and 5, triggers 6 and 7, and the remaining numbers cover stick clicks, the D-pad and menu buttons. A tile lights while its button is held, so a button that never lights is either absent from the pad or mapped to a different number.
The pressed count is a quick way to see whether the pad reports a stuck button. If the count shows one or more presses while your hands are off the controller, a switch is jammed or the pad needs recalibration.
Sticks, axes and triggers
Sticks report two axes each. The left pair is shown first and the right pair second. At rest both values should sit near zero; a value that rests at 0.2 or higher indicates drift that will make a character walk on its own. Roll each stick around its rim and watch for a value that freezes or jumps, which points at a worn potentiometer or a dirty contact.
Triggers are read from buttons 6 and 7. Analog triggers produce a value between 0 and 1, which fills the meters gradually. Digital triggers only switch between 0 and 1, so the meter jumps from empty to full. Neither behaviour is a fault; it reflects the hardware.
When no controller appears
A wired pad that is not listed may be in a mode the browser does not recognise, such as a DirectInput mode that needs a switch to XInput. A wireless pad may be paired to another device. Test the pad in a game or a system control panel first. If it works there but not here, reload the page and press a button again.
Some browsers also require the page to be focused before the first snapshot arrives, so click inside the window before giving up.
For pointer and touch hardware, the touchscreen test and the mouse test cover the other input paths. Timing between a press and the screen can be compared with the input lag test, and the refresh rate test shows whether the display is keeping pace with fast controller motion.
Pads with extra controls
A flight stick, a racing wheel or a pad with paddles can expose more buttons and axes than the sixteen tiles show. The counters at the top report the real totals, so a wheel with twenty buttons still reads twenty even though only the first sixteen have tiles. Extra axes appear in the axis count, and the first four values are the ones drawn as stick pairs.
Use the counters rather than the tiles when you are checking a device with an unusual layout. A paddle that never lights a tile may still be present in the button list, and the pressed total will reveal it as soon as you squeeze it.
How to use this test
-
Connect the controller
Attach the pad by USB or pair it over Bluetooth, then press any button so the browser can see it.
-
Read the device name
The Controller line shows the identifier the pad reports, which is useful when several pads are paired.
-
Press every button
Work through the pad one button at a time and watch the numbered tiles light up in the same order.
-
Move both sticks
Roll each stick through its full circle and read the axis pairs to spot drift or a dead zone.
-
Clear the readouts
Press Reset test to blank the tiles before testing a second controller.
How to read the numbers
| Signal | Typical reading | How to read it |
|---|---|---|
| Buttons | 16 | Standard mapping order from the Gamepad API specifications. |
| Axes | 4 | Two values per stick; extra axes appear on flight sticks and wheels. |
| Stick at rest | -0.05 to 0.05 | A larger resting value points at drift or a worn stick. |
| Trigger | 0 to 1 | Analog triggers fill gradually; digital triggers jump between 0 and 1. |
| Mapping | standard | Any other label means the button order may differ. |
Browser support
| Browser | Support | Notes |
|---|---|---|
| Chrome and Edge | Supported | Standard mapping for XInput pads. |
| Firefox | Supported | Some pads report a non-standard mapping. |
| Safari | Supported | macOS 10.9 or later; press a button to expose the pad. |
| Mobile browsers | Limited | Support depends on the operating system and pad. |
Tips
- Wake a wireless pad with a button press before expecting it to appear; browsers hide idle controllers.
- Compare the mapping label with the pad documentation; a non-standard mapping can swap face buttons.
- Squeeze the triggers slowly to see whether they report a range or only an on-off value.
Frequently asked questions
Why is the controller missing until I press a button?
Browsers only announce a gamepad after it sends input, a privacy measure that stops pages from fingerprinting connected hardware. Press a face button or move a stick and the pad should appear within a frame or two.
What does the standard mapping label mean?
It means the pad claims the button and axis order defined by the Gamepad API specification, so button 0 is the bottom face button and axes 0 and 1 are the left stick. A pad without that label may order its controls differently.
Why do the stick values never reach exactly one?
Most sticks are calibrated to leave a small margin below the maximum, and some pads apply a circular gate that limits diagonal values. Small offsets near zero are normal; a large resting offset suggests drift.
Can two controllers be tested at the same time?
The monitor renders one pad at a time, usually the first one the browser reports. Disconnect or reset the first pad before checking a second one so the readouts are not mixed.