[PATCH xproto v2 2/2] Add XF86XK_AudioPreset
Hans de Goede
hdegoede at redhat.com
Wed May 10 15:53:54 UTC 2017
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 at redhat.com>
---
XF86keysym.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/XF86keysym.h b/XF86keysym.h
index b04d45e..b76ea55 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
--
2.12.2
More information about the xorg-devel
mailing list