browser-gamepad-input

Read game controllers correctly in the browser with the Gamepad API and build controller testers that measure stick drift, circularity, built-in deadzones, analog triggers and vibration. Use when writing or debugging web code that calls navigator.getGamepads(), listens for gamepadconnected, or handles controller input in a game or tester page.