Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,526 Members 50,002 Now Online
XDA Developers Android and Mobile Development Forum

Mod the VOLUME keys to HOME and BACK after Removed NavBar

Tip us?
 
iChris_Nexus
Old
#1  
Junior Member - OP
Thanks Meter 6
Posts: 2
Join Date: Feb 2012
Default Mod the VOLUME keys to HOME and BACK after Removed NavBar

Root Explorer -
ROOT - SYSTEM - USR - KEYLAYOUT - tuna-gpio-keypad.kl

Open with Text Editor

HOME for home
BACK for back

Change it whatever you want!

HAHA!!! Got it!!!

I love my GN!!!
The Following 6 Users Say Thank You to iChris_Nexus For This Useful Post: [ Click to Expand ]
 
scar45
Old
#2  
scar45's Avatar
Recognized Themer
Thanks Meter 969
Posts: 952
Join Date: Aug 2006
Location: 127.0.0.1

 
DONATE TO ME
Quote:
Originally Posted by iChris_Nexus View Post
Root Explorer -
ROOT - SYSTEM - USR - KEYLAYOUT - tuna-gpio-keypad.kl

Open with Text Editor

HOME for home
BACK for back

Change it whatever you want!
Nice idea! After hiding the navbar, I quickly realized how much I could use something like this! I'll have to try this out when I get a chance.

Only downside I see is that since we're changing the key layout file, even when the navbar is shown, the volume buttons would still act as home/back. Would be nice for the ROM chefs to have some sort of 'live toggle' so that it would switch to home/back when the navbar is hidden, and then back to default (actual volume) when the navbar is shown.

Cheers and thanks m8!

░▒▓ (also) Developer of the
░▒▓ PCB Series of Themes
 
jerrycycle
Old
#3  
jerrycycle's Avatar
Senior Member
Thanks Meter 158
Posts: 1,223
Join Date: Aug 2009
Op, pm sent.
Phone: Htc One Max T6VZW
Rom: ViperMax 2.0.0
Theme: DarkMax 1.0.3 & TeamBlackout apps
Recovery: TWRP 2.7.1.0
Kernel: Lunar_Max_Kernel-06_02_2014.
Android version: 4.4
 
jhericurls
Old
#4  
Senior Member
Thanks Meter 281
Posts: 1,202
Join Date: Aug 2009
That's a nice idea but how do you change the volume? You will have to install some kind widget.

Also this increase wear on your buttons, that's how I killed my previous phone.
The Following User Says Thank You to jhericurls For This Useful Post: [ Click to Expand ]
 
tspx23
Old
#5  
tspx23's Avatar
Senior Member
Thanks Meter 355
Posts: 1,142
Join Date: Jul 2010
Location: Tempe

 
DONATE TO ME
there's a toggle in AOKP to hide and bring back the toggles, although this would be more convenient it seems like it would be a hassle to change those buttons whenever you needed your volume back
 
sn707
Old
#6  
sn707's Avatar
Senior Member
Thanks Meter 48
Posts: 229
Join Date: Oct 2007
Location: Oregon
Thanks for the idea just FYI on 4.0.2 GSM the layout file is:
ROOT - SYSTEM - USR - KEYLAYOUT - Generic.kl but it worked just the same. It was item 114 and 115.

Working great so far. Also I put a volume widget on my home screen so that takes care of that.


Samsung Galaxy S4 Google Edition
 
9wire
Old
#7  
9wire's Avatar
Senior Member
Thanks Meter 309
Posts: 886
Join Date: Jul 2009
There's a flashable zip for this on rootz, been using it for several days. I just long press my ringer toggle for volume adjustment.
 
AuxiliaryPie
Old
#8  
Member
Thanks Meter 26
Posts: 89
Join Date: Oct 2010
what i wanna see is this:

tap the power button to show/hide nav bar
double tap to lock screen
hold down to power off

boom.
 
shadowpunx
Old
#9  
Senior Member
Thanks Meter 6
Posts: 148
Join Date: Jan 2010
Quote:
Originally Posted by AuxiliaryPie View Post
what i wanna see is this:

tap the power button to show/hide nav bar
double tap to lock screen
hold down to power off

boom.
I could def see this being functional

I love my pitbulls
 
shadowpunx
Old
(Last edited by shadowpunx; 1st March 2012 at 05:34 AM.)
#10  
Senior Member
Thanks Meter 6
Posts: 148
Join Date: Jan 2010
My bad .dup post

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


MacroDroid Update Brings Android Wear Automation

A few months ago, we talked about MacroDroid. For those who don’t remember, MacroDroid … more

Droid X Receives KitKat Port, Upcoming Google Glass Firmware Improvements – XDA Developer TV

Android 4.4.3 lands on the European HTC … more

Calc+ is a Smart and Beautiful Android Calculator

As we’ve said inthe past, there are quite a few calculators available on Android. … more

Get Better Debug Data with Crash Report SDK

Developing an application is a hard and often times ungratifying task. It also requires quite a … more