is it possible to modify the action associate of the hardware buttons?
change action of hardware buttons
Started by
magikstar29
, Oct 04 2011 07:44 PM
#1
Posted 04 October 2011 - 07:44 PM
Samsung Galaxy 551 : gingerbread 2.3.6 (stock)
HTC Desire Z : ViperZ 1.1.0 (ICS 4.0.4 Sense4.1)
Alcatel OT 986 : MIUI 3.2.8 (android 4.0.4)
Huawei U8730 : gingerbread 2.3.6 (stock)
HTC Desire Z : ViperZ 1.1.0 (ICS 4.0.4 Sense4.1)
Alcatel OT 986 : MIUI 3.2.8 (android 4.0.4)
Huawei U8730 : gingerbread 2.3.6 (stock)
#3
Posted 05 October 2011 - 12:02 AM
Hi, if your skate is rooted, you can enter system/usr/layout to modify skate_keypad.kl
for example, if you want to change home&menu, just exchange the code of them
But note that in recovery, the left button still stands for home...
for example, if you want to change home&menu, just exchange the code of them
But note that in recovery, the left button still stands for home...
Edited by Kayusumi, 05 October 2011 - 12:04 AM.
#4
Posted 05 October 2011 - 02:12 AM
ok thank you very much
in this files i've
key 102 HOME WAKE
key 139 MENU WAKE_DROPPED
for example if i want to invert menu and home buttons i change to
key 102 MENU WAKE
key 139 HOME WAKE_DROPPED
is it right?
in this files i've
key 102 HOME WAKE
key 139 MENU WAKE_DROPPED
for example if i want to invert menu and home buttons i change to
key 102 MENU WAKE
key 139 HOME WAKE_DROPPED
is it right?
Kayusumi, on 05 October 2011 - 12:02 AM, said:
Hi, if your skate is rooted, you can enter system/usr/layout to modify skate_keypad.kl
for example, if you want to change home&menu, just exchange the code of them
But note that in recovery, the left button still stands for home...
for example, if you want to change home&menu, just exchange the code of them
But note that in recovery, the left button still stands for home...
Edited by magikstar29, 05 October 2011 - 02:22 AM.
Samsung Galaxy 551 : gingerbread 2.3.6 (stock)
HTC Desire Z : ViperZ 1.1.0 (ICS 4.0.4 Sense4.1)
Alcatel OT 986 : MIUI 3.2.8 (android 4.0.4)
Huawei U8730 : gingerbread 2.3.6 (stock)
HTC Desire Z : ViperZ 1.1.0 (ICS 4.0.4 Sense4.1)
Alcatel OT 986 : MIUI 3.2.8 (android 4.0.4)
Huawei U8730 : gingerbread 2.3.6 (stock)
#5
Posted 05 October 2011 - 02:41 AM
yes, or you may change
key 102 HOME WAKE
key 139 MENU WAKE_DROPPED
to
key 139 HOME WAKE
key 102 MENU WAKE_DROPPED
(I did this way)
and WAKE_DROPPED stands for wake up function
after that you can save this file and reboot
key 102 HOME WAKE
key 139 MENU WAKE_DROPPED
to
key 139 HOME WAKE
key 102 MENU WAKE_DROPPED
(I did this way)
and WAKE_DROPPED stands for wake up function
after that you can save this file and reboot
magikstar29, on 05 October 2011 - 02:12 AM, said:
ok thank you very much
in this files i've
key 102 HOME WAKE
key 139 MENU WAKE_DROPPED
for example if i want to invert menu and home buttons i change to
key 102 MENU WAKE
key 139 HOME WAKE_DROPPED
is it right?
in this files i've
key 102 HOME WAKE
key 139 MENU WAKE_DROPPED
for example if i want to invert menu and home buttons i change to
key 102 MENU WAKE
key 139 HOME WAKE_DROPPED
is it right?
#6
Posted 21 October 2011 - 09:28 AM
Does anyone know how I can edit the skate_keypad.kl file located in system/usr/keylayout please? I can't manage to edit this file on my phone.
#7
Posted 21 October 2011 - 11:09 AM
1st of all, you need to root your device.
Then you install ES File Explorer, start it, grant it root and go to the settings. Change the Entry for "Home Directory" to "/" (without quotes).
Now search for the the folders "system", then "usr", then "keylayout" ant tap on the file "skate_keypad.kl". Open it as "Text" with "ES Note Editor".
Now you can edit and save the keypad-file.
Then you install ES File Explorer, start it, grant it root and go to the settings. Change the Entry for "Home Directory" to "/" (without quotes).
Now search for the the folders "system", then "usr", then "keylayout" ant tap on the file "skate_keypad.kl". Open it as "Text" with "ES Note Editor".
Now you can edit and save the keypad-file.
#8
Posted 21 October 2011 - 01:17 PM
what about changing the power button to one of the home, menu, return front buttons...?
MonteCarlo + HTC EVO 3D
#9
Posted 21 October 2011 - 01:24 PM
Why would you do that? 
#10
Posted 21 October 2011 - 04:05 PM
#11
Posted 21 October 2011 - 05:03 PM
Chris_67, on 21 October 2011 - 11:09 AM, said:
1st of all, you need to root your device.
Then you install ES File Explorer, start it, grant it root and go to the settings. Change the Entry for "Home Directory" to "/" (without quotes).
Now search for the the folders "system", then "usr", then "keylayout" ant tap on the file "skate_keypad.kl". Open it as "Text" with "ES Note Editor".
Now you can edit and save the keypad-file.
Then you install ES File Explorer, start it, grant it root and go to the settings. Change the Entry for "Home Directory" to "/" (without quotes).
Now search for the the folders "system", then "usr", then "keylayout" ant tap on the file "skate_keypad.kl". Open it as "Text" with "ES Note Editor".
Now you can edit and save the keypad-file.
Stupid phone won't let me save the edited file, I can edit now but can't manage to save.
#12
Posted 21 October 2011 - 05:13 PM
#13
Posted 21 October 2011 - 05:16 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users







Sign In
Create Account


Back to top









