Sign in to follow this  
magikstar29

change action of hardware buttons

Recommended Posts

Kayusumi    6

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

Share this post


Link to post
Share on other sites
magikstar29    5

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

Share this post


Link to post
Share on other sites
Kayusumi    6

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?

Share this post


Link to post
Share on other sites
Navie    10

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.

Share this post


Link to post
Share on other sites
Chris_67    5

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.

Share this post


Link to post
Share on other sites
Navie    10

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.

Share this post


Link to post
Share on other sites
Navie    10

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.

Share this post


Link to post
Share on other sites
tilal6991    4,024

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?

Share this post


Link to post
Share on other sites
Navie    10

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

Nope, thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.