[Q] How to change the function of the hardware camera key?
I am a new user of free xperia sp C5303 .
I want to make a mod.
I want to change the function of the hardware keys: focus and camera and when pressed to make work as play / pause.
Previously I have made this modification on other android phones without any problem (including a xperia arc).
The way I used was as follows:
You start the route system \usr\keylayout
and modify GPIO-KEYS.kl
In lines where it says FOCUS and CAMERA, change it for HEADSETHOOK and you reboot the phone.
In this way, these keys function as if they were on a button handsfree headphones.
The problem I have is that in the xperia sp I do not get the changes to take effect.
If I change the function of the volume keys it works, but with the camera keys does not work.
Someone could help me?