Commit 3ab9ffb0 authored by Christophe Mutricy's avatar Christophe Mutricy

Add media key to X11 vouts. Patch by loox.thefuture

parent 22aa682a
......@@ -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 }
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment