You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Info] Gamepad detected. (gamecontroller.min.js, line 1)
[Log] up (index.js, line 2)
[Error] TypeError: this.buttonActions[e].action is not a function. (In 'this.buttonActions[e].action()', 'this.buttonActions[e].action' is undefined)
checkStatus (gamecontroller.min.js:1:2758)
checkStatus (gamecontroller.min.js:1:5839)
Describe the bug
I am using the code:
and all it prints in the console is
To Reproduce
My code is:
index.html
index.js
Expected behavior
Print 'up' when the A button is pressed
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: