Gamepad Tester
Test a controller in your browser: every button and trigger, both sticks for drift and circularity, vibration, and how often the browser gets new readings.
Connect a controller, then press any button on it.
Plug it in by USB or pair it by Bluetooth first. A browser shows a controller to a page only after you use it while the page is open, so nothing appears until you press a button. Nothing is sent anywhere.
How this gamepad tester reads your controller
The page uses the browser's Gamepad API, the same one browser games use, and reads it on every frame. A browser that recognises a controller gives it the standard layout, where button 0 is the bottom face button on every brand, so the page can name each button: A, Cross or B. Where the browser does not recognise the controller, buttons and axes are shown by number. Each axis runs from -1 to 1; each trigger from 0, out, to 1, all the way in.
The drift test reads both sticks at rest for three seconds and gives the farthest reading from the centre, the smallest dead zone that hides it, and how it compares with the dead zones Microsoft's XInput suggests for Xbox controllers: 0.24 for the left stick and 0.27 for the right. The circularity test keeps the farthest reading in each of 72 slices round the edge; its average error is how far, on average, that edge sits from a circle of radius 1. The update rate is how many changed readings the browser gave the page each second while a stick moved, which can be lower than the rate the controller itself reports at. Nothing is recorded or sent.
What this tool is used for
- Checking a new or second-hand controller for dead buttons, sticking triggers and stick drift before its return window closes.
- Finding the smallest dead zone that stops a drifting stick from moving your character, before you set it in a game.
- Checking that a stick still reaches its full range in every direction after cleaning or replacing it.
- Testing that both vibration motors work and, on controllers that have them, the trigger motors.
- Comparing how often the browser gets new readings from a controller over USB and over Bluetooth.
- Making a report of a faulty controller to send with a repair or a warranty claim.
How it works in practice
A worked example
A player's character creeps to the right in a game whose stick dead zone is 0.05. The drift test reads the left stick at rest for three seconds.
Left stick at rest, average reading: x 0.078, y -0.008 Farthest reading from the centre: 0.091 The game's dead zone: 0.05
Average reading: 0.078 from the centre, towards 6°, just above due right Smallest dead zone that hides it: 0.10 With XInput's suggested 0.24: the stick reads still With the game's 0.05: the stick reads 0.030, 3% of a full push to the right
The average reading sits √(0.078² + 0.008²) = 0.078 from the centre. A radial dead zone zeroes every reading at or inside it and rescales the rest, so with 0.05 the game sees (0.078 − 0.05) / (1 − 0.05) = 0.030 of a full push: a slow creep to the right. The farthest reading, 0.091, rounded up to a whole hundredth gives 0.10, from which the stick reads still.
The edge case that catches people
A stick that only now and then reads past its dead zone shows it in the farthest reading, not in the average, which is why the smallest dead zone comes from the farthest reading. A reading that moves 0.25 or more from the average during the test is likely a thumb on the stick, and the page says so.
When not to use this tool
It does not change your controller or any game's settings: set the dead zone in the game or in the system. It cannot repair drift, and it cannot see a controller the browser cannot read. For a keyboard use the keyboard tester; for clicking speed, the CPS test.
Frequently Asked Questions
- How do I test my controller?
- Connect it by USB or Bluetooth, open this page and press any button: the browser then shows it to the page. Press every button and both triggers until each is ticked, move both sticks, then run the drift and circularity tests. The report lists every result.
- How do I check for stick drift?
- Let go of both sticks and press Test drift. For three seconds the page reads where they rest, then gives each stick's farthest reading from the centre and the smallest dead zone that hides it. Past the dead zone your game uses, the game sees the stick move on its own.
- What dead zone should I use?
- At least the one the drift test gives, so the stick at rest reads still. Microsoft's XInput suggests 0.24 for the left stick and 0.27 for the right on Xbox controllers. A smaller dead zone lets small movements through; a larger one ignores more of the stick's first movement.
- What does the circularity test measure?
- How round each stick's outer edge is. Roll the stick slowly round its rim: the page keeps the farthest reading in each of 72 slices of 5 degrees, and the average error is how far that edge sits, on average, from a circle of radius 1. A direction the stick cannot reach shows there.
- What is the update rate?
- How many new readings a second the browser gives a page from your controller while a stick moves. The page looks at the controller thousands of times a second and counts the readings that changed. The browser reads the controller at its own pace, so this can be lower than the controller's own rate.
- Why does my controller not show up?
- A browser shows a controller to a page only after you use it with the page open, so press a button. If it still does not appear, check that your system sees it, then try another cable, port or browser, and connect it again.
- Does it work with PS5, Xbox and Switch controllers?
- It works with any controller your browser can read. Where the browser gives the standard layout, the page names the buttons of Xbox, PlayStation and Nintendo controllers by their own names, and shows others by number. Vibration works where the browser offers it for that controller.
- Is anything sent?
- No. The page reads the controller in your browser and nothing leaves it; the report is made in the page, for you to copy or download. Only the dead zone you preview is kept, in this browser.
Common errors and gotchas
- Touching a stick during the drift test: let go of both sticks first, as a thumb on one reads as drift.
- Rolling a stick too fast in the circularity test, so some slices are skipped: roll it slowly, pressed against the rim, until every slice is reached.
- Expecting the page to show a controller before a button on it is pressed: browsers wait until you use it.
- Judging a stick by any reading above 0 at rest: what moves a game is a reading past the game's dead zone, so compare with that.
- Measuring the update rate with the sticks still: only readings that change are counted, so keep a stick moving.