Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Configure whether the volume buttons should respond while the buttons arelocked.
« previous next »
  • Print
Pages: [1]

Author Topic: Configure whether the volume buttons should respond while the buttons arelocked.  (Read 1579 times)

Offline climent

  • Member
  • *
  • Posts: 3
Configure whether the volume buttons should respond while the buttons arelocked.
« 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.
Logged

Offline gomezz

  • Member
  • *
  • Posts: 119
Re: Configure whether the volume buttons should respond while the buttons arelocked.
« Reply #1 on: May 14, 2015, 07:10:57 PM »
There is a separate option to disable the track skip buttons (though not the Play / Pause button) which I make use of.
Logged
Sansa Clip+ Rockbox v3.14

Offline climent

  • Member
  • *
  • Posts: 3
Re: Configure whether the volume buttons should respond while the buttons arelocked.
« Reply #2 on: May 14, 2015, 07:57:49 PM »
I still would like to be able to lock the device but use the volume buttons...
Logged

Offline climent

  • Member
  • *
  • Posts: 3
Re: Configure whether the volume buttons should respond while the buttons arelocked.
« Reply #3 on: May 15, 2015, 10:25:55 AM »
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.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Configure whether the volume buttons should respond while the buttons arelocked.
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.064 seconds with 15 queries.