Hello
I am unable to add a gamepad into my Phaser game. If I try and make one by using “this.controller = this.input.gamepad” or “this.input.gamepad.gamepads” or “this.input.gamepad.pad1”. None work and if I console log the first I get undefined, and the others say that they can’t read the properties of undefined.
When using exact code from these links:
- https://labs.phaser.io/edit.html?src=src\input\gamepad\gamepad%20debug.js
- https://labs.phaser.io/edit.html?src=src\input\gamepad\move%20sprite.js
nothing works and functions such as “once”, “.total” all tell me undefined
Thanks!