summaryrefslogtreecommitdiffstats
path: root/xlib/X11
diff options
context:
space:
mode:
Diffstat (limited to 'xlib/X11')
-rw-r--r--xlib/X11/keysymdef.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/xlib/X11/keysymdef.h b/xlib/X11/keysymdef.h
index 2431b7f..30ca537 100644
--- a/xlib/X11/keysymdef.h
+++ b/xlib/X11/keysymdef.h
@@ -1732,3 +1732,18 @@ SOFTWARE.
#define XK_braille_dot_9 0xfff9
#define XK_braille_dot_10 0xfffa
#endif /* XK_BRAILLE */
+
+/* Multimedia keys, defined same as on Linux
+ * /usr/include/pkg/libxkbcommon/xkbcommon/xkbcommon-keysyms.h
+ */
+
+#ifndef TK_NO_DEPRECATED
+#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 */
+#endif /* !TK_NO_DEPRECATED */
+