Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,021 Members 45,398 Now Online
XDA Developers Android and Mobile Development Forum

[Q]Remap hardware buttons without additional programs.Sammy 4.3

Tip us?
 
Xvipes
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Jun 2013
Question [Q]Remap hardware buttons without additional programs.Sammy 4.3

I would like to know how to remap POWER button, VOLUME_DOWN button and BACK button to different actions.
In details i want to use long press action for POWER button as camera shutter, VOLUME_DOWN button as POWER menu, and BACK button to kill foreground applications.

I used to manage that with Xposed Installer and Xposed Additions as the pictures show.
http ://thanosdi.info/tempfolder/overview.png
http ://thanosdi.info/tempfolder/1.png
http ://thanosdi.info/tempfolder/2.png
http ://thanosdi.info/tempfolder/3.png

but i would like to know if i can manually do that from the system/usr/keylayout files so i dont have to install both of these programs just for hardware remapping.


My rom is Samsung TouchWiz 4.3 rooted.Thanks in advanced.
 
Xvipes
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Jun 2013
Shameless bump
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes