Support and General Use > User Interface and Voice

Delay or "double push" button to lock / unlock?


I have an AGPTEK rocker (I just installed RB, it's great!).  The on/off button functions as key lock in rockbox.  I can see I'm going to be accidentally unlocking it, because it only takes one push to unlock.

What I think I'd like it to do is to only unlock when pushed twice -- or perhaps unlock only after holding the button down for a while.  Actually knowing me I probably need to have it insist on something tapped out in morse code to stop me accidentally unlocking it.

Is there already any feature along these lines?  I haven't been able to find one here / in the manual / browsing the settings.

If not, any pointers to the right area of the code to modify would be appreciated.

There really isn't functionality built-in to determine a double press of the same button.
The way to do it would be to make it dependent on two buttons like power and select button or something along those lines.
you need to compile your own build to change keymaps


[0] Message Index

Go to full version