diff options
author | infirit <[email protected]> | 2014-12-13 17:00:08 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-13 22:47:07 +0100 |
commit | 723f821493aeedac089d1905b3d5487b0968c5b7 (patch) | |
tree | 827aed79da7301d8f90942f449386dd905d8b2a1 /plugins/media-keys/acme.h | |
parent | ecd6cb8c49b07e7fe141205c8da677aed1ad3fb1 (diff) | |
download | mate-settings-daemon-723f821493aeedac089d1905b3d5487b0968c5b7.tar.bz2 mate-settings-daemon-723f821493aeedac089d1905b3d5487b0968c5b7.tar.xz |
media-keys: Add support for more multimedia keys
Add support for FastForward, Rewind, Repeat and Shuffle
multimedia keys.
Taken from GSD commits:
338a2db55d96304ebeedcb3e6f87b88ffa3b7828
b4cb0dc3c936336ffba65c50f737cffe9bf79cbe
From: Bastien Nocera <[email protected]>
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=539915
Diffstat (limited to 'plugins/media-keys/acme.h')
-rw-r--r-- | plugins/media-keys/acme.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/media-keys/acme.h b/plugins/media-keys/acme.h index e7fddf7..7c9013c 100644 --- a/plugins/media-keys/acme.h +++ b/plugins/media-keys/acme.h @@ -45,6 +45,10 @@ enum { STOP_KEY, PREVIOUS_KEY, NEXT_KEY, + REWIND_KEY, + FORWARD_KEY, + REPEAT_KEY, + RANDOM_KEY, MAGNIFIER_KEY, SCREENREADER_KEY, ON_SCREEN_KEYBOARD_KEY, @@ -76,6 +80,11 @@ static struct { { STOP_KEY, "stop", NULL, NULL }, { PREVIOUS_KEY, "previous", NULL, NULL }, { NEXT_KEY, "next", NULL, NULL }, + /* Those are not configurable in the UI */ + { REWIND_KEY, NULL, "XF86AudioRewind", NULL }, + { FORWARD_KEY, NULL, "XF86AudioForward", NULL }, + { REPEAT_KEY, NULL, "XF86AudioRepeat", NULL }, + { RANDOM_KEY, NULL, "XF86AudioRandomPlay", NULL}, { MAGNIFIER_KEY, "magnifier", NULL, NULL }, { SCREENREADER_KEY, "screenreader", NULL, NULL }, { ON_SCREEN_KEYBOARD_KEY, "on-screen-keyboard", NULL, NULL }, |