How to test a controller
Connect the controller by USB or Bluetooth and press a button. The drawing lights each button as you press it, the triggers fill up as you squeeze them, and the dots inside the stick circles follow the sticks. Work through every button, including the stick clicks, the d-pad diagonals and the Home button. The raw tables underneath show the exact value the browser receives: 0 for released, 1 for fully pressed, and values in between for analogue triggers. Axes run from −1 to +1, with up and left negative.
What causes stick drift
Most controller sticks measure position with two small potentiometers, where a contact slides along a resistive track. Over time the track wears and collects dust, so the stick no longer reports dead centre when you let go. The game then sees a small, constant push, and your character or camera creeps on its own. Hall effect sticks measure a magnet instead and do not wear in the same way, which is why they are sold as drift-resistant.
To check, let go of the stick and read Offset now. Then compare it with the deadzone slider. A deadzone is the small area around the centre that games ignore. If the resting dot sits inside the shaded circle, a game with that deadzone will not notice the drift. If it sits outside, it will. Push the stick in a few directions and let it spring back: a stick that returns to a different spot each time is worn.
Fixing drift
- Clean around the stick. Push the stick to one side and blow short bursts of compressed air into the gap, then rotate it a few times. This sometimes clears dust from the sensor.
- Recalibrate or raise the deadzone. The Windows Game Controllers panel (
joy.cpl) can calibrate some pads, Steam Input lets you set a deadzone per controller, and many games have their own deadzone setting. - Update the firmware with the maker's app, such as Xbox Accessories on Windows.
- Replace the stick module or use the warranty. Replacing it means soldering on most controllers.
Xbox, PlayStation and Switch Pro notes
Xbox controllers work over USB in Chrome, Edge and Firefox, and recent models also pair over Bluetooth. They usually show a standard mapping, so the drawing matches. PlayStation DualShock 4 and DualSense pads work over USB and Bluetooth; Chrome and Edge map them well, while some other browser and system combinations show a non-standard mapping. Then use the raw table. The Switch Pro controller pairs over Bluetooth, and its face buttons are reported by position, so the bottom button (B on the controller) appears as button 0. In Safari on a Mac, controllers that macOS supports, such as recent Xbox and PlayStation pads, work after a button press. If Steam is running, it may take over a controller and present it differently, so close it if results look odd.
Also testing other gear? Try the keyboard tester, the mic test for voice chat, or the dead pixel test for your monitor.