Jump to content

change action of hardware buttons


Recommended Posts

Guest magikstar29
Posted

is it possible to modify the action associate of the hardware buttons?

Guest Kayusumi
Posted (edited)

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...

Edited by Kayusumi
Guest magikstar29
Posted (edited)

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?

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...

Edited by magikstar29
Guest Kayusumi
Posted

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

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?

  • 3 weeks later...
Posted

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.

Guest Chris_67
Posted

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.

Guest dadashi
Posted

what about changing the power button to one of the home, menu, return front buttons...?

Posted

Why would you do that? :unsure:

Because I bought a TPU flexi case for my phone and because the case rigid its hard to activate the current power button.

Posted

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.

Stupid phone won't let me save the edited file, I can edit now but can't manage to save.

Guest tilal6991
Posted

Stupid phone won't let me save the edited file, I can edit now but can't manage to save.

Did you enable root mode and mount system as rw in ES File Explorer settings?

Posted

Did you enable root mode and mount system as rw in ES File Explorer settings?

Nope, thanks.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.