Gamepad API Demo
Connect a gamepad and press any button to see its live state. The page also listens to the arrow keys and spacebar as a fallback when no gamepad is connected.
Live input
Polled from navigator.getGamepads() on every animation frame.
${status}
- Buttons
- ${buttons}
- Left stick
- X: ${leftX} Y: ${leftY}
- Triggers
- L: ${triggerL} R: ${triggerR}