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

Remapping Menu and home button?

OP lakedubvt

19th February 2013, 11:58 AM   |  #1  
OP Member
Thanks Meter: 19
 
65 posts
Join Date:Joined: Jan 2012
I am trying to remap the menu button to pull up the recent app and long press from menu. Then have long press of the home button pull up Google now. I am able to easily do this with CM, but I want to have this feature and run AOKP.

Did some searching on this. I know you can got to the file in system/usr/keylayout/sec_touchkey.kl and edit the remapping of the keys. The closest I could get was changing key 139 to "App_switch" but this brings up the old gingerbread app switcher and not the multi task menu.

If someone could lead me in the right direction that would be great.
19th February 2013, 12:48 PM   |  #2  
greatdaneduke's Avatar
Senior Member
Thanks Meter: 173
 
489 posts
Join Date:Joined: Apr 2012
More
Re: Remapping Menu and home button?
Good question. I sign looking for a way to program my back button to long press=kill.

Sent from my SCH-I535 using Tapatalk 2
19th February 2013, 04:18 PM   |  #3  
andybones's Avatar
Recognized Contributor
Flag Upstate NY
Thanks Meter: 9,390
 
9,628 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by lakedubvt

I am trying to remap the menu button to pull up the recent app and long press from menu. Then have long press of the home button pull up Google now. I am able to easily do this with CM, but I want to have this feature and run AOKP.

Did some searching on this. I know you can got to the file in system/usr/keylayout/sec_touchkey.kl and edit the remapping of the keys. The closest I could get was changing key 139 to "App_switch" but this brings up the old gingerbread app switcher and not the multi task menu.

If someone could lead me in the right direction that would be great.

long press stuff would be smali code.
19th February 2013, 10:59 PM   |  #4  
OP Member
Thanks Meter: 19
 
65 posts
Join Date:Joined: Jan 2012
Re: Remapping Menu and home button?
Are there any flashable mods out there?

Sent from my Nexus 4 using Tapatalk 2
mentose457
20th February 2013, 02:02 AM   |  #5  
Guest
Thanks Meter: 0
 
n/a posts
Quote:
Originally Posted by lakedubvt

Are there any flashable mods out there?

Sent from my Nexus 4 using Tapatalk 2

Would you consider changing ROMs? RootzBOX has the options you are seeking. It also has all of the AOKP features as that is its base.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes