keymapperorg / KeyMapper

**DEVELOPMENT STOPPED**.📱 An Android app that change what the buttons do on your devices!
http://docs.keymapper.club
GNU General Public License v3.0
991 stars 149 forks source link

intercept DPAD, joystick events with IME. add option for "experimental" button detection mode that uses the IME. not all apps can detect these remapped buttons. #491

Open sds100 opened 3 years ago

sds100 commented 3 years ago

https://developer.android.com/guide/topics/text/creating-input-method#HardwareKeyEvents

https://developer.android.com/training/game-controllers/controller-input

TODO

tiandongxv commented 3 years ago

Hi, I have already use IME, still can’t create Trigger for DPAD, but I can create Action for DPAD, what am I wrong? Or can’t do such thing?

https://user-images.githubusercontent.com/11863878/113746962-79f59600-9739-11eb-97a6-faba2eef7124.mp4

sds100 commented 3 years ago

Sorry for not clarifying. I haven't implemented this issue yet and you can create a "key" action for the DPAD because Key Mapper uses a different method to detect buttons when you're creating an action. This method only works as long as you're in Key Mapper .

hxse commented 10 months ago

image @sds100 With my gamepad, "Up Down Left Right key" are not work, the other keys are normal, Is progress going well?