(Q) Annoying side buttons

Search This thread

Stopfakn

Senior Member
Nov 21, 2011
492
54
Baltimore
Is there a way to turn them off. I keep hitting them mistakenly. I'm running team drh ics

Sent from my TeamDRH ICS for GTablet using XDA Premium HD app
 

kzintz

Member
Apr 2, 2011
46
11
buttons

Yes there is == its easy enough - there's a thread on here somewhere saying how . search for it - capacitive buttons try..

EDIT - here:

Using ES Explorer (or some other file explorer that gives you root) find /system/usr/keylayout/ and edit Generic.kl (you may want to copy it elsewhere on your /mnt/sdcard before you start editing)

Find the following keycodes in the list:

key 139 MENU WAKE_DROPPED
key 158 BACK WAKE_DROPPED
key 172 HOME
key 217 SEARCH



basically just remove the words after the numbers and replace with FOCUS, make them look like this:

key 139 FOCUS
key 158 FOCUS
key 172 FOCUS
key 217 FOCUS
 
  • Like
Reactions: Stopfakn

Stopfakn

Senior Member
Nov 21, 2011
492
54
Baltimore
Yes there is == its easy enough - there's a thread on here somewhere saying how . search for it - capacitive buttons try..

EDIT - here:

Using ES Explorer (or some other file explorer that gives you root) find /system/usr/keylayout/ and edit Generic.kl (you may want to copy it elsewhere on your /mnt/sdcard before you start editing)

Find the following keycodes in the list:

key 139 MENU WAKE_DROPPED
key 158 BACK WAKE_DROPPED
key 172 HOME
key 217 SEARCH



basically just remove the words after the numbers and replace with FOCUS, make them look like this:

key 139 FOCUS
key 158 FOCUS
key 172 FOCUS
key 217 FOCUS

Thank you so much

Sent from my TeamDRH ICS for GTablet using XDA Premium HD app
 

Stopfakn

Senior Member
Nov 21, 2011
492
54
Baltimore
One more thing I mistakenly changed key 127 so can someone please post the proper key 127 strand. My power and volume buttons aren't working


Sent from my TeamDRH ICS for GTablet using XDA Premium HD app
 

DaggerDave

Senior Member
Jan 18, 2011
97
38
Hope this is what you are looking for. From the latest ICS Beta: /system/usr/keylayout/Generic.kl

key 126 META_RIGHT
key 127 MENU WAKE_DROPPED
key 128 MEDIA_STOP
 
  • Like
Reactions: Stopfakn

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    buttons

    Yes there is == its easy enough - there's a thread on here somewhere saying how . search for it - capacitive buttons try..

    EDIT - here:

    Using ES Explorer (or some other file explorer that gives you root) find /system/usr/keylayout/ and edit Generic.kl (you may want to copy it elsewhere on your /mnt/sdcard before you start editing)

    Find the following keycodes in the list:

    key 139 MENU WAKE_DROPPED
    key 158 BACK WAKE_DROPPED
    key 172 HOME
    key 217 SEARCH



    basically just remove the words after the numbers and replace with FOCUS, make them look like this:

    key 139 FOCUS
    key 158 FOCUS
    key 172 FOCUS
    key 217 FOCUS
    1
    Hope this is what you are looking for. From the latest ICS Beta: /system/usr/keylayout/Generic.kl

    key 126 META_RIGHT
    key 127 MENU WAKE_DROPPED
    key 128 MEDIA_STOP