diff options
author | fvogel <fvogelnew1@free.fr> | 2017-01-28 15:41:45 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-01-28 15:41:45 (GMT) |
commit | c9b7bbbe5acb22807ee399633d9ec63b37179211 (patch) | |
tree | 4fa4b2c35da61a0aedf3456cdf41b83fd1851a31 /xlib | |
parent | 624e0e19c674b11f1669dd060fe8b9e8dae38aab (diff) | |
download | tk-c9b7bbbe5acb22807ee399633d9ec63b37179211.zip tk-c9b7bbbe5acb22807ee399633d9ec63b37179211.tar.gz tk-c9b7bbbe5acb22807ee399633d9ec63b37179211.tar.bz2 |
Proposed fix for [499526180d]: Add support for windows multimedia virtual keys. Patch by ralfixx
Diffstat (limited to 'xlib')
-rw-r--r-- | xlib/X11/keysymdef.h | 12 |
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 */ + |