# Controller Tester

> Supports PlayStation (PS5, PS4), Xbox (Series, One, 360), Nintendo Switch, and generic USB/Bluetooth gamepads.

- Open in browser: https://pockettoolbox.org/en/controller-tester
- Runs entirely in your browser; files and input are never uploaded.

## How it works

Supports PlayStation (PS5, PS4), Xbox (Series, One, 360), Nintendo Switch, and generic USB/Bluetooth gamepads.

Connect a controller via USB or Bluetooth and press any button. Visualizes button presses, analog trigger pressure (0.000 to 1.000), analog stick coordinates, stick drift, circularity error, polling rate (Hz), and rumble motors.

Polls controller states at up to 240Hz via the HTML5 Gamepad API (navigator.getGamepads). Calculates stick deviation, deadzones, and circularity error client-side. Controls dual-rumble motors via vibrationActuator.

## Popular tasks

- [Gamepad Tester](https://pockettoolbox.org/en/gamepad-tester)

---
PocketToolbox (https://pockettoolbox.org/en)
