Virtual Game Pad

Control a Virtual Gamepad Using a Real One :video_game::joystick:

Plug in any Xbox-compatible controller and start interacting. (or just use the on-screen controls)

VirtualGamePad Demo



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.

3 Likes