Xtr126 / XtMapper

Advanced keyboard and mouse input mapping tool
https://xtr126.github.io/XtMapper-docs
GNU General Public License v3.0
189 stars 21 forks source link

DPAD doesn't register WASD #5

Closed ragasubekti closed 1 year ago

ragasubekti commented 1 year ago

On the event logs, it was pretty clear that it's able to read WASD key, but it doesn't seem to send any input into the game. Using arrow keys is working fine.

Xtr126 commented 1 year ago

I can't seem to be able to reproduce this issue on my end with Bliss OS 15.8.3 and app version v1.3 Can you please provide more info, what were the exact keycodes you saw. KEY_W, KEY_A or something else. And does it happen only in Genshin Impact ? Thanks

ragasubekti commented 1 year ago

It seems like it doesn't work at all on all games, the keycodes that i saw when pressing the key on app is KEY_W,KEY_A,KEY_D,KEY_S. The system info is similiar to yours running BlissOS_15.8.3_gapps and version 1.3 of the XtMapper

JskFw9r - Imgur

Xtr126 commented 1 year ago

It seems like it doesn't work at all on all games, the keycodes that i saw when pressing the key on app is KEY_W,KEY_A,KEY_D,KEY_S. The system info is similiar to yours running BlissOS_15.8.3_gapps and version 1.3 of the XtMapper

Looks like it should be fine. I'll look into it and see what I can do before next release. In the meantime you could check /data/data/xtr.keymapper/files/config.* and see if there is a line like WASD_DPAD 504.24026 447.9666 100.0 604.24023 547.9666, if not should add it from keymap editor.

ragasubekti commented 1 year ago

Seems like that's the issue, it register the dpad as ULDR_DPAD only, and not both

Xtr126 commented 1 year ago

Closing for now as this issue should be fixed now as of https://github.com/Xtr126/XtMapper/commit/f91a1b9799d035fbf66453e853da072e7b13d612