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
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:
key 172 P
Thanks for your help