Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[tklock] Add setting for tweaking volume key input policy. Contribute…
…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.
- Loading branch information
Showing
4 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters