summaryrefslogtreecommitdiffstats
path: root/xlib/X11
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-28 15:41:45 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-28 15:41:45 (GMT)
commit19702c5a40b368d9d39834a373f4745782de16e3 (patch)
tree4fa4b2c35da61a0aedf3456cdf41b83fd1851a31 /xlib/X11
parentbc6a00f386a42a918f7ea3907a7899419680c3d4 (diff)
downloadtk-19702c5a40b368d9d39834a373f4745782de16e3.zip
tk-19702c5a40b368d9d39834a373f4745782de16e3.tar.gz
tk-19702c5a40b368d9d39834a373f4745782de16e3.tar.bz2
Proposed fix for [499526180d]: Add support for windows multimedia virtual keys. Patch by ralfixx
Diffstat (limited to 'xlib/X11')
-rw-r--r--xlib/X11/keysymdef.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/xlib/X11/keysymdef.h b/xlib/X11/keysymdef.h
index b22d41b..a7c654d 100644
--- a/xlib/X11/keysymdef.h
+++ b/xlib/X11/keysymdef.h
@@ -1167,3 +1167,15 @@ SOFTWARE.
#define XK_Hebrew_switch 0xFF7E /* Alias for mode_switch */
#endif /* XK_HEBREW */
+/* Multimedia keys, defined same as on Linux
+ * /usr/include/pkg/libxkbcommon/xkbcommon/xkbcommon-keysyms.h
+ */
+
+#define XK_XF86AudioLowerVolume 0x1008FF11 /* Volume control down */
+#define XK_XF86AudioMute 0x1008FF12 /* Mute sound from the system */
+#define XK_XF86AudioRaiseVolume 0x1008FF13 /* Volume control up */
+#define XK_XF86AudioPlay 0x1008FF14 /* Start playing of audio > */
+#define XK_XF86AudioStop 0x1008FF15 /* Stop playing audio */
+#define XK_XF86AudioPrev 0x1008FF16 /* Previous track */
+#define XK_XF86AudioNext 0x1008FF17 /* Next track */
+