Heya!
The problem is that when you press any button, the gamepad is disconnected and reconnected
This happens on Button up event, for some reason "gamepads.indexOf(gamepad)" return -1 and disconnect gamepads.
When "this.knownGamepads[i]" has the gamepads Array
it's very strange, I don't understand why this is happening
Code example in the repository also does not work, the problem is in the library
Please help solve this problem
Heya!
The problem is that when you press any button, the gamepad is disconnected and reconnected
This happens on Button up event, for some reason "gamepads.indexOf(gamepad)" return -1 and disconnect gamepads.
When "this.knownGamepads[i]" has the gamepads Array
it's very strange, I don't understand why this is happening
Code example in the repository also does not work, the problem is in the library
Please help solve this problem