Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting for tweaking volume key input policy #332

Merged
merged 1 commit into from Oct 1, 2015
Merged

Add setting for tweaking volume key input policy #332

merged 1 commit into from Oct 1, 2015

Conversation

spiiroin
Copy link
Contributor

No description provided.

…s to JB#31567

A lot of users think that volume keys should be reserved for adjusting
media volume only.

While it is not yet possible to adjust how ui interprets volume key
presses, we can stop ui from getting any unless there is ongoing music
playback and thus effectively limiting volume keys to only adjusting
media volume.

Add setting for selecting volume key input policy. By default the volume
keys work just as before, but this can be changed via mcetool option:
  --set-volume-key-policy=<default|media-only>

The value of the setting persists over mce / device restarts.
@kimmoli
Copy link
Contributor

kimmoli commented Oct 1, 2015

Tested, works as described.

Volume keys work only if media is playing, e.g. pausing youtube video in browser causes volume keys to be ignored.

spiiroin added a commit that referenced this pull request Oct 1, 2015
Add setting for tweaking volume key input policy
@spiiroin spiiroin merged commit 2786633 into nemomobile:master Oct 1, 2015
@spiiroin spiiroin deleted the jb31567_volkey_policy branch October 1, 2015 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants