DEV Community

devicexa
devicexa

Posted on

Gamepad Online Tester

Gamepad Tester and Debugger
When connected, this tool displays the current state of your gamepads, inputs, joysticks, and anything else that can be reported by the HTML5 Gamepad API. It also provides vibration controls and circularity tests for the analog sticks.

This is also useful for debugging drifting joycons, broken controllers, experimental hardware, and more.

Are you a developer interested in using the Gamepad API?

FAQ
Why isn't my gamepad showing up?

The Gamepad API is still inconsistent across browsers and OSes. Some things to check:

Is the device plugged in / connected via bluetooth

Press some buttons. On some devices, only certain buttons will wake up the gamepad API (the shapes on PS3 controllers, for instance)

Close other apps that may be using the gamepad

Restart your web browser

What information is being displayed here?

Multiple gamepads can be connected to a computer at once. This displays them all, and their current state.

Timestamp: the time of the latest update from the gamepad

Axis [N]: The current position of the gamepad's analog inputs

B [N]: The current on/off position of buttons. Supports analog buttons.

Does vibration work?

Vibration is supported in all modern browsers except Safari.

What about experimental features?

Features like Pose, HapticActuators, and others, are not widely supported yet.

Once browsers start supporting them, this page will be updated.

Why are the axis values weird?

Not all controllers are reported the same way, across devices, browsers, and OSes.

This site simply displays what the Gamepad API returns.

What is circularity?

"Test circularity" is a measure of whether the coordinates the analog sticks, at full deflection, go outside a bounding circle of radius 1.

Top comments (0)