[Req] A way to configure headset button commands


Apr 22, 2012
Is there a way to do this already? An app I used before miui allowed me to do the following.
1 press - pickup/end call or start/stop music
2 presses - next track
3 presses - previous track
4 presses - launch an app of my choice, in my case it was a voice control app I trained to do commands like ring a certain person, etc.
Long press - volume reset and slowly increase until button is let go

Can there be a way to modify the commands in the system to do something close to this? If not is there a way to disable the commands in the system and leave control of the button to my app?

Sent from my Desire HD using Tapatalk 2