Streamline Android Theme Customization with Graphic Porter

I dont have a custom theme on my Android phone, and the reason for this is because … more

Boost the Brightness of Your Sony Xperia Z1’s LED

I think the last time anyone has ever used a physical torch to find their earphones, … more

XDA Xposed Tuesday: Modify the Look of Your Volume Control – XDA TV

How many screenshots have you seen with a volume status bar in the … more

Prepare Your Nokia X2 for Battle with Nokia X2 Tools

Unveiled in June this year, the Nokia X2 is the Finnish companys second crack at an … more
Post Reply

(Q) Annoying side buttons

19th April 2012, 08:22 PM   |  #1  
Stopfakn's Avatar
OP Senior Member
Flag Baltimore
Thanks Meter: 55
 
492 posts
Join Date:Joined: Nov 2011
More
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
20th April 2012, 06:56 AM   |  #2  
Member
Thanks Meter: 9
 
39 posts
Join Date:Joined: Apr 2011
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
The Following User Says Thank You to kzintz For This Useful Post: [ View ]
22nd April 2012, 02:52 AM   |  #3  
Stopfakn's Avatar
OP Senior Member
Flag Baltimore
Thanks Meter: 55
 
492 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by kzintz

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
23rd April 2012, 02:17 AM   |  #4  
Stopfakn's Avatar
OP Senior Member
Flag Baltimore
Thanks Meter: 55
 
492 posts
Join Date:Joined: Nov 2011
More
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
23rd April 2012, 06:29 AM   |  #5  
Member
Thanks Meter: 38
 
97 posts
Join Date:Joined: Jan 2011
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
The Following User Says Thank You to DaggerDave For This Useful Post: [ View ]
28th April 2012, 07:38 PM   |  #6  
Stopfakn's Avatar
OP Senior Member
Flag Baltimore
Thanks Meter: 55
 
492 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by DaggerDave

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

You're awesome

Sent from my TeamDRH ICS for GTablet using XDA Premium HD app
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes