Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: FrenchCounty on February 01, 2022, 10:04:12 AM

Title: Shortcuts for volume (FMS only)
Post by: FrenchCounty on February 01, 2022, 10:04:12 AM
Hi everyone,
I can't remember how I managed to increase or decrease the volume of the sound by holding down the play and submenu buttons. Which setting allows this?
By the way, the manual in pdf or online does not seem to correspond exactly to the menu layout of version 3.15. Some menus have probably been moved (e.g. hotkeys) Is there somewhere an updated manual?

Thanks
Title: Re: Shortcuts for volume
Post by: saratoga on February 01, 2022, 10:17:03 AM
You can get the current manual from the link on the left side of the screen, and from that page find older manuals like for 3.15 too. 

Not sure about short cuts for volume.
Title: Re: Shortcuts for volume
Post by: FrenchCounty on February 01, 2022, 10:31:17 AM
I probably missed something: but I don't see the hotkey section on my sansa zip 3.15: 'set WPS context plugin' is the last item on my list. See here : https://download.rockbox.org/daily/manual/rockbox-sansaclipzip/rockbox-buildch8.html#x11-1410008

I upgraded fw 3.14 to 3.15 last week. I'm sure I was adjusting the volume most of the time volume with the front panel buttons, and sometimes with the side dedicated buttons.
Title: Re: Shortcuts for volume
Post by: FrenchCounty on February 01, 2022, 10:42:38 AM
Oh, this detail comes back to me: this feature worked with the radio but not with music from a playlist. Unless it was the opposite. :-\
Title: Re: Shortcuts for volume
Post by: Bilgus on February 01, 2022, 10:48:10 AM
First try a Dev version 3.15 is years old..
Title: Re: Shortcuts for volume
Post by: FrenchCounty on February 01, 2022, 11:29:15 AM
ok thanks, I have the last dev build, but I'm not that advanced: which direction of the menu should I go?
Title: Re: Shortcuts for volume
Post by: Bilgus on February 01, 2022, 02:22:06 PM
Depending on what exactly you are looking for..
Some targets have volume control in lists (assuming enough buttons swear there used to be a setting

The other way is to add a volume shortcut to the quick screen or shortcuts menu

Goto settings>sound settings and long press 'volume' and select added to shortcuts or add to quickscreen

You might have to select use quickscreen if you add it there...

Title: Re: Shortcuts for volume
Post by: FrenchCounty on February 02, 2022, 04:39:59 AM
Thanks for helping me,
The volume was directly changeable from WPS (or maybe FM radio) with a long press on the play (volume+) and submenu (volume-) keys. So I don't think it was related to the Quickscreen layout.

I had only one setting defined in the quickscreen: the brightness assigned to the play button.
By elimination, it should logically be the shortcut function that allowed me to modify as described, the volume. But I think I understood that it was necessary to choose between the settings 'shorcut' or 'quickscreen'.

Sorry to be so clumsy. Something is not very clear in what you say here:
Quote
Some targets have volume control in lists (assuming enough buttons swear there used to be a setting
Title: Re: Shortcuts for volume
Post by: Bilgus on February 02, 2022, 12:01:10 PM
Some targets do allow volume in the WPS if your did previously and no longer does it might be a regression
If its a different target it might just not have the ability to use multiple buttons
Title: Re: Shortcuts for volume
Post by: FrenchCounty on February 04, 2022, 04:48:38 AM
I was about to give up, but I may have found a clue to my problem.
Perhaps it was my poor command of English that prevented me from properly describing what I wanted.

Now I know that the function I mentioned was about FMS and not WPS and here is why: it is by coming across a post rightly written by you @Bilgus that I recognized what I am trying to restore.
Quote
FMS Volume-long press Up and Down button actions for SANSA CLIP derivatives
When long pressing PLAY/PAUSE and FM_MODE on devices that use the clip keymap the volume changes in addition to toggling PLAY/PAUSE and SCAN/SEEK
https://forums.rockbox.org/index.php/topic,51589.msg238633.html#msg238633

Could you please guide me through the menus to set this up?
Thank you

EDIT : does this feature require a dev build?
Title: Re: Shortcuts for volume (FMS only)
Post by: Bilgus on February 09, 2022, 09:20:05 AM
This is already in dev builds https://gerrit.rockbox.org/r/c/rockbox/+/1444 has been committed 4
years ago

Thinking about the patch I believe it solved an issue where changing volume caused the radio to pause or switch stations

So no not a regression it is intentional to fix another bug

There are other ways to get this done but fastest for you would just be a custom build adding back that function (and the bug)
are your volume buttons broken?

I have a key remap plugin in the works that will make it possible to do this on device but I haven't finished it yet..







Title: Re: Shortcuts for volume (FMS only)
Post by: FrenchCounty on February 09, 2022, 12:47:37 PM
No my volume keys are not broken. It's just that my fat fingers have a hard time finding the keys in my jacket pocket, especially if I'm on my bike.

I really have the reflex to use "blindly" only these alternative buttons.
The slight defect you mention is correct, although quite manageable. Using the PLAY/PAUSE button to raise the volume forces the MUTE. The workaround is to pre-press PLAY, then a second time while holding down the PLAY button to adjust the volume. This way, the volume can be accurately adjusted live without fumbling with the MUTE position. It's not easy to explain, but I hope it's clear enough for you.
To lower the volume, the side effect is less annoying.

I don't know what the simplest solution will be, but I am very confident whatever you decide.

I really thank you for thinking about my problem. :)
Title: Re: Shortcuts for volume (FMS only)
Post by: mainbatau on April 29, 2022, 08:17:10 AM
I'm sure I was adjusting the volume most of the time volume with the front panel buttons, and sometimes with the side dedicated buttons.

vidmate (http://"https://get-vidmateapp.com/home/") mobdro (http://"https://get-mobdroapk.com")
Title: Re: Shortcuts for volume (FMS only)
Post by: Bilgus on April 29, 2022, 01:24:15 PM
The key remap plugin is in Dev builds now you should be able to set it any way you like now
Title: Re: Shortcuts for volume (FMS only)
Post by: Bilgus on April 30, 2022, 12:46:28 AM
this is a file I generated for the Clip Zip exported as plaintext
Code: [Select]
# Key Remap
# Device: Sandisk Sansa Zip
# Entries: 3

# Each entry should be PROPER_CASE and on its own line
# Comments run to end of line

CONTEXT_FM = {
    {ACTION_SETTINGS_INC, BUTTON_UP | BUTTON_REPEAT, BUTTON_NONE},
    {ACTION_SETTINGS_DEC, BUTTON_DOWN | BUTTON_REPEAT, BUTTON_NONE},
}

you could save this to your device and import it or set it up through the plugin

plugins>applications>keyremap : import Text Keymap (browse to the file)
do the temp remap first and test it that way if it messes up its easy to try again
Title: Re: Shortcuts for volume (FMS only)
Post by: FrenchCounty on June 11, 2022, 02:34:46 PM
Here is my feedback. As I didn't understand right away that I had to validate the remap with the 'set core remap' menu command, I went back to version 3.14 for a while: I realized that this volume shortcut was not even a setting, but natively implemented and immediately usable.
So your file does its job perfectly and I thank you for it. :D

Unfortunately with this development version I can't finalize a basic setting I commonly used:
backlight exemption doesn't work properly with the skip button for FMS preset stations and becomes downright inactive when using the lock function of the device (of course exempting the skip buttons). I'm not very comfortable with all these settings but it seems to me that this is a bug; for information, the daily release (20220611) behaves like the development version with this same inconvenience* which will surely be solved one day.

*EDIT :with these same settings, the 3.15 stable version doesn't suffer from this bug