plug in any controller · see every button · axis · rumble · Gamepad API
waiting for controller
[pad]
Plug in a gamepad and press any button to activate it.
Works with Xbox, PlayStation, Nintendo Pro Controller, and most generic USB/Bluetooth gamepads.
notes
- Gamepad API is fully supported in all modern browsers — no extensions needed.
- Press any button after plugging in to activate the controller (security requirement).
- Triggers (L2/R2) report analog values 0–1, not just pressed/released.
- Rumble requires the
dual-rumblevibration actuator which varies by controller.