Remap the physical buttons on the side of device when the screen is off.
When driving, I would like to skip commercials, or rewind to hear something I missed. I would be great if the physical volume buttons could be remapped to another function when the screen is off, so I can keep my eyes on the road. Also useful when player is in my pocket.
-
Anonymous commented
Anonymous from May 13 again. Just worked out how it was working for me. It's on by default in the LineageOS custom rom (the setting is called "Control playback" if you search your settings for those running the ROM and it has a description under it of "Seek music tracks by long pressing the volume keys while the display is off"). Has been there since LineageOS 15.x at least (https://forum.fairphone.com/t/lineageos-15-1-settings-reference-wiki/41954). I find it hard to listen to podcasts with the screen off without the feature.
-
Anonymous commented
Strange. I have this working on my rooted Xiaomi Mi5 phone but I can't remember if I did anything out of the ordinary to set it up?! I have the an app called
Headset Button Controller (https://play.google.com/store/apps/details?id=com.kober.headsetbutton&hl=en
) installed, but looking at my profiles in the app I don't have the volume buttons configured to simulate pushing FW/RW.I was trying to getting FW/RW working with the volume buttons (and screen off) on a friend’s phone. Have since tried it on two other phones with a default install of Podcast Addict and both didn’t FW/RW when pushing the volume buttons with the screen off (an older Xiaomi Redmi and older Samsung non-Sx phone) although I didn't use my paid version on those phones.
-
juntjoo commented
Sounds like a function of the operating system only, so it would have to be a third party app and your phone rooted. I could be wrong but I don't think I've ever seen any physical button remapping unless it was designed for a rooted phone
-
Anonymous commented
The volume function would work as normal when the screen is on. A menu could select the function of the buttons when the screen is off.
-
Jon commented
But controlling the volume is also a valid use case and overriding the default functionality of the volume buttons is not a good idea.