Mottie / Keyboard

Virtual Keyboard using jQuery ~
http://mottie.github.io/Keyboard/
Other
1.78k stars 723 forks source link

Controlling keyboard using a Gamepad #760

Closed Cypaubr closed 5 years ago

Cypaubr commented 5 years ago

Hello, I wondered if it is possible to control the keyboard (using navigation or not) with a gamepad. I tried to map Gamepad inputs to keyboard events but it does not work.

Cheers

Mottie commented 5 years ago

Hi @Cypaubr!

I'm guessing you mean Gamepad? If you can't use the navigation extension to remap the keys, then maybe you need to use the Gamepad API? Then, in the controller event functions, you can use the navigation extension built-in navigation methods.

Cypaubr commented 5 years ago

My bad for the typo. Yes this is what I needed. But I have an issue, not when I hit Accept, the value of my is not updated with the entered value.

Mottie commented 5 years ago

Try using the change callback.