DevTools Logo

Gamepad Controller Tester

Gamepad Controller Tester

Test controller buttons, sticks, triggers, drift and rumble live in your browser.

Runs in your browser
0.12
Try an example

Controller

No pad detected

Press any button on your controller. Browsers expose a pad only after that first press.

Live input

Waiting for a pad

No controller detected

Connect a controller and press any button. Gamepads stay invisible until that first press in most browsers.

Examples

Stick drift after a drop

Input
calibrate neutral → leave both sticks untouched → watch axis 0
Output
Axis 0: +0.140 · max offset 0.140 · threshold 0.080 · Outside threshold

A resting offset above the threshold is reported per axis instead of a vague visual impression.

Unregistered face button

Input
press all face buttons → read the coverage checklist
Output
12 of 17 buttons seen · Button 1: not seen

The checklist surfaces a button that never reached the browser even if the event log looks busy.

Input lost between frames

Input
mash A quickly while the tab stays visible
Output
Unobserved transition · 18 ms gap · 1 possible drop

The timestamp changed with an identical before-and-after snapshot, which is the only observable trace of a press-release pair inside one frame gap.

About this tool

Gamepad Controller Tester is a live diagnostic for physical controllers connected to your computer. It polls the browser Gamepad API on every animation frame and draws the current state of up to ten pads: standard button names, stick positions with a deadzone overlay, analog trigger bars, and D-pad directions. Pressed controls are marked with both shape and text, so the view stays readable without relying on color alone. Multiple controllers get tabs, and disconnecting one keeps the event history intact.

Stick drift is measured, not guessed. With the sticks and triggers released, the tool averages a stable 500 ms window as the neutral baseline. Every later axis reading is compared with that baseline, and each offset is tested against an adjustable threshold that starts at 0.08. The same comparison measures resting offset on the analog triggers, which is how a partially stuck trigger shows up. If the sticks moved during capture, calibration fails with an explanation instead of silently poisoning every later reading; you can re-run it at any time.

The change log records button presses and releases plus axis and analog-trigger movements above 0.05, timestamped with the browser's own gamepad timestamp and capped at 500 entries. A coverage checklist summarizes which of the 17 standard controls were never pressed, so a sticky or dead button cannot hide in a long log. Long holds and re-presses within 250 ms of a release are flagged as possible stickiness. When the gamepad timestamp advances without a visible state change, the tool reports an unobserved transition: a press and release that completed between two polls. That count is a heuristic, not proof of faulty hardware; Bluetooth latency and browsers that update timestamps every frame can produce false positives.

Where the controller exposes vibrationActuator or the older hapticActuators path, an explicit Test rumble button fires dual-rumble with your chosen intensity and duration, and Stop rumble cancels it; the actuator panel is absent when unsupported. Sessions can be recorded for ten seconds and replayed on a scrubber, then exported as JSON or CSV with the drift verdict, threshold and coverage summary included. Everything runs locally: no controller data, input log or device identifier leaves the browser, and there are no permission prompts.

What this tool does not do

  • The Gamepad API is browser-controlled: no pad appears until the user presses a button, and support varies across browsers and operating systems.
  • Dropped-input detection infers unobserved transitions from gamepad.timestamp; it cannot name the input and can over-count when a browser advances the timestamp without an input change.
  • Non-standard or unmapped controllers are displayed by raw index; the tool neither remaps controls nor emulates a different device.
  • Keyboard and mouse testing, macro recording and game emulation are outside scope; use the keyboard tools for keyboard diagnostics.
  • Animation frames are throttled in background tabs, so possible-drop counting is paused while the page is hidden.

How to use this tool

  1. Connect and wake the pad

    Plug in the controller or pair it over Bluetooth, then press any button. Browsers expose a gamepad only after that first gesture; the page keeps polling until one appears.

  2. Calibrate the neutral position

    Release both sticks and triggers, click Calibrate neutral, and keep hands off the controls for 500 ms. Repeat calibration whenever the pad is re-seated or the first reading looks wrong.

  3. Exercise every control

    Press each button and move each axis. Watch the pressed state, the change log and the coverage checklist to find controls the browser never saw.

  4. Read drift and stickiness

    Compare each axis offset with the drift threshold, check the trigger resting offsets, and read the long-hold and bounce summary for possible sticky buttons.

  5. Test rumble and export

    If the vibration panel is present, set intensity and duration, fire a test, then stop it. Use Copy session or the JSON/CSV downloads to share the full diagnostic.

Use cases

Hardware triage

Check a controller after a fall or spill: verify every button registers, quantify drift and resting trigger offset, and look for sticky-button bounces before deciding whether to repair or return it.

Web game development

Inspect mapping, raw indices and button values the way your game loop sees them, and check how rapid input behaves under animation-frame polling.

Pre-stream equipment check

Run a fast pass over sticks, triggers, D-pad and rumble before going live, then export the result for your notes.

What the live view reports

ReadingMeaning
Buttons 0–16Standard mapping names where available; raw indices otherwise
Axes 0–9Normalized values from −1 to 1; the first four drive the stick diagrams
Button values 6–7Analog trigger travel from 0 to 1, also used for resting-offset checks
Drift offsetCurrent axis value minus the calibrated neutral value; compared with the threshold
Unobserved transitiongamepad.timestamp advanced but no button or axis ended in a new state
CoverageCount of distinct buttons observed this session out of 17 standard controls
ExportJSON diagnostic with verdict and coverage, or CSV event table with metadata rows

Possible dropped inputs are an inference from timestamps. The API does not reveal which input changed between polls.

Common mistakes

Mistake:Pressing buttons before the page is ready and assuming the pad is unsupported.

Fix:The Gamepad API usually reveals a pad only after a button press. Keep polling, use Check for controllers, and confirm that the browser supports the API.

Mistake:Calibrating drift while resting a thumb on a stick.

Fix:Release both sticks and both triggers before calibration. If the stability check fails, the tool says which axis moved; re-run it instead of trusting the bad baseline.

Mistake:Treating every possible drop as a hardware fault.

Fix:Timestamp-only transitions also happen with Bluetooth latency or browsers that refresh timestamps continuously. Check the log on a wired pad and keep the tab visible before condemning hardware.

Mistake:Expecting vibration in every browser.

Fix:Haptics require vibrationActuator or the legacy hapticActuators path and an explicit user action. The vibration panel is hidden when the browser or pad does not expose either.

Frequently asked questions

Why isn't my controller detected?

Browsers expose a gamepad only after you press one of its buttons, so connect or pair the pad and press A, Cross, or any other control while the page is open. If nothing appears, check that the controller works in a game, try a different USB port or cable, and use a current version of Chrome, Edge, Firefox or Safari. The page keeps polling and its Check for controllers button re-reads the pad list after that first press.

How do I test for stick drift?

Release both sticks and triggers, click Calibrate neutral and keep hands off the controls for 500 ms. The tool averages that stable window as the resting baseline. Move nothing and read the offset for each axis: a value above the chosen threshold, 0.08 by default, is flagged as drift and shown with a pass or fail verdict. If the calibration says the reading was unstable, repeat it; a bad baseline makes every later offset meaningless.

What does an unobserved transition mean?

The browser advances gamepad.timestamp when an input changes. If the timestamp advanced but every button and axis ended where it started, a press and release — or a full stick movement and return — completed between two animation frames. The tool counts that as one possible dropped input. It cannot tell you which control changed, and Bluetooth latency or browsers that update the timestamp every frame can cause false positives, so use it as a signal to investigate rather than proof of a broken pad.

Does vibration work in the browser?

Only when both the browser and the controller expose it. The tester checks for vibrationActuator first and the older hapticActuators path second; if neither exists the vibration controls are hidden rather than shown as disabled. When supported, Test rumble fires a dual-rumble effect with your intensity and duration, and Stop rumble cancels it. Disconnecting the pad or leaving the page also stops the effect.

Which browsers support the Gamepad API?

Chrome, Edge, Firefox and Safari all implement the core Gamepad API on desktop, with the widest feature support in Chromium browsers. Details differ: some browsers hide a pad until the first button press, some report an empty mapping string, and haptics support varies widely. The tester handles those differences by listing raw indices for unmapped pads and hiding capability panels that the browser does not expose.

Why do buttons show different numbers on my controller?

The Gamepad API assigns indices in its own order, not the order printed on your controller. Standard-mapped pads get familiar names for buttons 0–16, but the physical position can still differ between Xbox, PlayStation and generic pads. Unmapped controllers expose only raw indices, which the tool shows verbatim instead of guessing a layout. Use the coverage checklist to learn which index corresponds to each physical button on your device.

Does the tester record or upload my inputs?

Nothing is uploaded. The polling loop, calibration, event log, ten-second recording and replay all run inside your browser tab, and there are no permission prompts. The optional JSON and CSV downloads are generated locally from the current session; they include the drift verdict, threshold and coverage summary so you can share a diagnostic deliberately.

References & standards