react-gamepad
react-gamepad copied to clipboard
Unknown button null
console log spaming after gamepad used
switch to this version:
yarn add react-gamepad@SBRK/react-gamepad
To anyone stumbling upon this, this is what I did to solve the issue :
- In
package.json
replace"react-gamepad": "..."
with"react-gamepad": "SBRK/react-gamepad"
-
npm install
- If you were already running your project, refreshing the page is not enough, you need to restart it