Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,742 Members 37,698 Now Online
XDA Developers Android and Mobile Development Forum

Issues with Keymapping

Tip us?
 
Caipi123
Old
(Last edited by Caipi123; 19th March 2014 at 01:55 AM.)
#1  
Member - OP
Thanks Meter 4
Posts: 68
Join Date: May 2009
Default Issues with Keymapping

Hi,

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).

Code:
Select Code
[   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:

Code:
Select Code
key 172   P
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
 
Caipi123
Old
#2  
Member - OP
Thanks Meter 4
Posts: 68
Join Date: May 2009
Nobody?

Gesendet von meinem Nexus 5 mit Tapatalk
 
anthraxx90
Old
#3  
Senior Member
Thanks Meter 3
Posts: 115
Join Date: Aug 2012
Quote:
Originally Posted by Caipi123 View Post
Nobody?

Gesendet von meinem Nexus 5 mit Tapatalk
Same here, home button on my usb keyboard is not recognized on slimkat, and esc key do nothing.
this is my thread:http://forum.xda-developers.com/goog...imkat-t2703490

Can someone help us?
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes