Rockbox Development > Feature Ideas
Configure whether the volume buttons should respond while the buttons arelocked.
(1/1)
climent:
Hi
I would like to be able to have a configuration option in which i can define if the [Buttons Locked] state affects the volume up/down buttons.
While running with my Sansa Clip Zip I would like to not be able to skip/play/pause the track but still control the volume of the output.
Any hint of what files I should be looking at in order to add that option? I am not a C programmer, so I have no idea where to start looking.
gomezz:
There is a separate option to disable the track skip buttons (though not the Play / Pause button) which I make use of.
climent:
I still would like to be able to lock the device but use the volume buttons...
climent:
Found the relevant code in action.c and wrapped a BUTTON_VOL_{UP,DOWN} condition around the relevant lines that drop the button press. So far is non-conditional, but I might add a config option, if I get to learn enough C to do it.
Navigation
[0] Message Index
Go to full version