An exploration of using an Xbox Wireless Controller using the Gamepad API. Information like button presses are rendered using requestAnimationFrame inside a React app.
Tested using the standard Xbox One X Wireless Controller connected over Bluetooth or USB.
- Clone the repository
- Run
yarn
ornpm install
- Run
yarn start
ornpm start
- Connect your controller and press any button