Issues with Keymapping
I've been using ARUnchained
since a while and everything was working fine. Then after an update of my ROM (SlimKAT) the hardware keys of my headunit did not trigger the corresponding actions of android (HOME, BACK, MENU) anymore.
As far I could find out, my headunit/ARUnchained is not the cause, as I can see the button events (using the 'getevent' command).
[ 24139.776092] EV_MSC MSC_SCAN 000c0223
[ 24139.776103] EV_KEY KEY_HOMEPAGE (00ac) DOWN
[ 24139.776110] EV_SYN SYN_REPORT 00000000
[ 24139.841449] EV_MSC MSC_SCAN 000c0223
[ 24139.841452] EV_KEY KEY_HOMEPAGE (00ac) UP
[ 24139.841453] EV_SYN SYN_REPORT 00000000
Then I went back to an old version of SlimKAT which definetly was working (without installing any apps, except ARUnchaind and GApps) and got the same issues.
Now I'm back at SlimKAT (3.6) and played a bit with the keylayout files and an USB keyboard, which has a home button (sends the correct keycode 172) and with which I'm experiencing the same issues. So I've modified the Generic.kl keylayout file so that the key 172 maps to a different action:
and now it prints a "P" if I press the home button on my keyboard. The other way round: if I for example assign HOME to the keycode representing the key "P" nothing happens. It seems there's only an issue with the HOME, BACK and MENU keys, but only with these. All others are working fine (POWER, all letters, numbers, etc.). I don't have any idea what causes the issues.
Thanks for your help