Open bradwbradw opened 5 years ago
My first guess is that your phone doesn't properly report the mapping
of the gamepad which Contro currently requires to be 'standard'
. You can check if this is the case by opening https://html5gamepad.com/ on your phone and looking at the mapping:
If I ever have the time to update this library I will loosen the requirements for gamepad connections and add support for other kinds of gamepads. Currently, however, I'm very busy working on a different project. I hope you understand that.
my device: OnePlus 3 Android 8.0.0 Chrome browser
gamepad: XBox controller.
here's the code. It is alerting 'a' in desktop chrome but not on mobile. I verified my gamepad is connected using https://html5gamepad.com/