summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-05-10 15:39:12 +0200
committerHans de Goede <hdegoede@redhat.com>2017-05-12 12:22:11 +0200
commitab8666661fc68f075b8d6ffabe22c6b577c30ac1 (patch)
tree797dd40e7bad1654f0c0d720b203dfb0e0d4e5bb
parent98a32d328e7195e12c38baa877917335bceffbaf (diff)
Add XF86XK_AudioPreset
Add XF86XK_AudioPreset keysym, to be used as mapping for evdev's KEY_SOUND keycode which is generated on some devices by a button which on windows selects equalizer presets switching between settings such as e.g. theatre-mode / game-mode / voice-mode. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--XF86keysym.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/XF86keysym.h b/XF86keysym.h
index 8576358..c0d12c1 100644
--- a/XF86keysym.h
+++ b/XF86keysym.h
@@ -202,6 +202,8 @@
#define XF86XK_WWAN 0x1008FFB4 /* Toggle WWAN (LTE, UMTS, etc.) radio */
#define XF86XK_RFKill 0x1008FFB5 /* Toggle radios on/off */
+#define XF86XK_AudioPreset 0x1008FFB6 /* Select equalizer preset, e.g. theatre-mode */
+
/* Keys for special action keys (hot keys) */
/* Virtual terminals on some operating systems */
#define XF86XK_Switch_VT_1 0x1008FE01