We have moved to a new Sailfish OS Forum. Please start new discussions there.

Idea: use volume hard keys to adjust brightness too

asked 2015-10-27 16:20:41 +0200

MikeHG gravatar image

updated 2015-10-27 19:40:26 +0200

I'd quite like to be able to adjust the brightness level with the hardware keys. You could have a 'code' which isn't likely to be entered by mistake to change between volume and brightness modes, e.g. up-down-up in quick succession.

I reckon as long as you explained it in the tutorial it wouldn't cause too many problems.

edit retag flag offensive close delete




Like some multimedia displays do:

  • Start with 'up' (then up, or down) changes brightness

  • Start with 'down' (then down, or up) changes volume

LVPVS out.

LVPVS ( 2015-10-27 20:30:07 +0200 )edit

@LVPVS - not a bad idea, but it'd take adjustment, and be unintuitive if you lent your phone to someone. The advantage of having some kind of sequence for switching is if you make it reasonably complicated and unlikely to trigger by accident, you wouldn't have to think about it if you didn't want to...

MikeHG ( 2015-10-27 22:43:09 +0200 )edit

I just checked and the volume rocker can be pressed in both directions at once. Thus you could hold up and repeatedly press down to lower brightness, and hold down and repeatedly press up to increase brightness.

Because, who in their right mind would press both sides of a rocker at the same time, right? :D

At least i can also do it with just my thumb.

mlatu ( 2015-10-29 11:18:09 +0200 )edit

@mlatu - that's a good idea, and avoids the complexity of modes.

MikeHG ( 2015-10-29 11:36:50 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-10-29 10:46:57 +0200

spiiroin gravatar image

updated 2015-11-03 13:49:14 +0200

If you're willing to sacrifice ringtone volume adjustment via hw keys feature, then it would be relatively simple to make it so that volume keys adjust brightness unless there is ongoing media playback.

Perhaps something like: volume up -> max manual brightness and volume down -> back to whatever is in settings?

Naturally something like this could not be enabled by default and would require some kind of explicit opt-in.


Created ticket for enabler task which should allow implementing the actual feature via hwkeys (mce or ui) or ui interaction via app/settings/whatnot.

Details at: https://bugs.merproject.org/show_bug.cgi?id=1403

edit flag offensive delete publish link more


I'd like to be able to switch back and forth relatively simply ideally... Having a toggle in the settings / quick settings would certainly work. If it were really clever I suppose it would swap the function of the software slider there too, so whichever wasn't on the hard keys could still be adjusted..

MikeHG ( 2015-10-29 11:34:37 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2015-10-27 16:20:41 +0200

Seen: 280 times

Last updated: Nov 03 '15