[Q] How to Remap hardware key on optimus L9??

N

nfs1mw

Guest
[Q] Remap hardware home key to menu key in CM10.1?

Is this possible?

I too wanted to remap hardware home key to menu key in CM10.1 .

Tried changing values in /system/usr/keylayout/touch_dev.kl but that seems to handle soft-keys.

Can I remap hardware home key to menu key in CM10.1?
 

pisherthefisher

Senior Member
Jan 1, 2012
782
338
0
In cm 10.1 it's real easy. Go to settings > system > hardware keys and check "enable custom actions"

Sent from my LG-P769 using xda app-developers app
 
Last edited:
N

nfs1mw

Guest
In cm 10.1 it's real easy. Go to settings > system > hardware keys and check "enable custom actions"

Sent from my LG-P769 using xda app-developers app

Nope . In Hardware keys of CM10.1 there is home key long press action but no regular home key action. Similarly there is no back key remap function, but it is possible to remap back key through /system/usr/keylayout/touch_dev.kl file.

I only need home key remap to menu key.


EDIT :
Thanks to this POST. Hardware home key can be remapped by editing key 172 of /system/usr/keylayout/Generic.kl file. WAKE can also be added after edit.
 
Last edited: