Control a Virtual Gamepad Using a Real One
Plug in any Xbox-compatible controller and start interacting. (or just use the on-screen controls)
I got curious about the navigator.getGamepads()
API and how it reads controller input in the browser — one thing led to another, and this demo was the result.