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