Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Issues with Keymapping

OP Caipi123

16th March 2014, 05:54 PM   |  #1  
OP Member
Thanks Meter: 4
 
68 posts
Join Date:Joined: May 2009
More
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:
[   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:
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
Last edited by Caipi123; 19th March 2014 at 02:55 AM.
17th March 2014, 06:33 PM   |  #2  
OP Member
Thanks Meter: 4
 
68 posts
Join Date:Joined: May 2009
More
Nobody?

Gesendet von meinem Nexus 5 mit Tapatalk
15th April 2014, 05:51 PM   |  #3  
Senior Member
Thanks Meter: 3
 
116 posts
Join Date:Joined: Aug 2012
Quote:
Originally Posted by Caipi123

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?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes