Rockbox Technical Forums
Rockbox Development => Feature Ideas => Topic started by: climent on May 14, 2015, 03:26:15 PM
-
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.
-
There is a separate option to disable the track skip buttons (though not the Play / Pause button) which I make use of.
-
I still would like to be able to lock the device but use the volume buttons...
-
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.