Gamepad Test

Connect a gamepad and press any button to start. All buttons and axes will be displayed with real-time feedback.

No gamepad detected. Connect a controller and press any button.

Ready - Connect a gamepad

Tips for Gamepad Testing

1

Connect your gamepad via USB or Bluetooth, then press any button to activate detection.

2

All buttons and analog sticks will show real-time values as you interact with your controller.

3

Vibration testing is only available on controllers that support the GamepadHapticActuator API.

Understanding Gamepads & Controllers

How Do Game Controllers Work?

Modern gamepads use a combination of analog and digital inputs. Analog sticks use potentiometers or Hall effect sensors to detect position in two axes (X and Y). Buttons are digital switches that report pressed/released states. Triggers on Xbox and PlayStation controllers are analog, reporting pressure from 0 to 1. All input data is sent to the computer via USB or Bluetooth using standard HID (Human Interface Device) protocols.

Stick Drift & Calibration

Stick drift occurs when analog sticks register input even when untouched — a common issue caused by worn potentiometers. Most games apply a dead zone — a small area around center that's ignored — to compensate. This test shows raw axis values, making drift visible. If your sticks don't return to exactly 0.00 when released, there may be slight drift.

Gamepad API

The Gamepad API allows web browsers to detect and read input from game controllers. It uses a polling model — the browser reads the gamepad state each frame using navigator.getGamepads(). The API reports button states, axis positions, and device information. It supports vibration through the Vibration Actuator interface on compatible controllers.

Frequently Asked Questions

Why isn't my gamepad being detected?

Press a button on your controller to wake it up — the Gamepad API only detects controllers after a button press. Ensure the controller is properly connected via USB or paired via Bluetooth. Some controllers may need drivers installed on your computer.

My joystick shows slight values when I'm not touching it. Is it broken?

Small deviations (±0.01-0.03) are normal for analog sticks. This is called "stick drift." If the values are larger or your character moves on its own in games, the potentiometer may be worn. Most games compensate with a dead zone setting.

Does the vibration test work with all controllers?

Vibration support depends on the controller and browser. Xbox controllers generally have good vibration support in Chrome. PlayStation DualShock/DualSense controllers have limited web vibration support. Bluetooth connections may not support vibration in all browsers.