mirror of
https://github.com/videolan/vlc.git
synced 2025-01-25 09:06:20 +08:00
Add media key to X11 vouts. Patch by loox.thefuture
This commit is contained in:
parent
22aa682a92
commit
3ab9ffb0d0
1
THANKS
1
THANKS
@ -103,6 +103,7 @@ K. Staring <qdk at quickdekay dot net> - RTSP rewind and fast-forward support
|
||||
Laurent Jonqueres <laurent_jonqueres at yahoo.fr> - Occitan localization
|
||||
Laurent Mutricy <laurent.mutricy at ecl2005 dot ec-lyon dot fr> - HTTP interface fixes
|
||||
Leo Spalteholz <leo dot spalteholz at gmail dot com> - Qt interface design
|
||||
Loox Thefuture <loox.thefuture at gmail dot com> - Media key in X11 vout
|
||||
Lorena Gomes - Catalan translation
|
||||
Mahrazi Mohd Kamal <mahrazi at gmail.com> - Malay Translation
|
||||
Marc Nolette <nolette at videotron.ca> - PVR support in DirectShow input
|
||||
|
@ -57,6 +57,7 @@
|
||||
#include <X11/Xmd.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/XF86keysym.h>
|
||||
#ifdef HAVE_SYS_SHM_H
|
||||
# include <X11/extensions/XShm.h>
|
||||
#endif
|
||||
@ -3048,6 +3049,13 @@ static struct
|
||||
|
||||
{ XK_Insert, KEY_INSERT },
|
||||
{ XK_Delete, KEY_DELETE },
|
||||
{ XF86XK_AudioNext, KEY_MEDIA_NEXT_TRACK},
|
||||
{ XF86XK_AudioPrev, KEY_MEDIA_PREV_TRACK},
|
||||
{ XF86XK_AudioMute, KEY_VOLUME_MUTE },
|
||||
{ XF86XK_AudioLowerVolume, KEY_VOLUME_DOWN },
|
||||
{ XF86XK_AudioRaiseVolume, KEY_VOLUME_UP },
|
||||
{ XF86XK_AudioPlay, KEY_MEDIA_PLAY_PAUSE },
|
||||
{ XF86XK_AudioPause, KEY_MEDIA_PLAY_PAUSE },
|
||||
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user