Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
3ab9ffb0
Commit
3ab9ffb0
authored
Feb 07, 2007
by
Christophe Mutricy
Browse files
Add media key to X11 vouts. Patch by loox.thefuture
parent
22aa682a
Changes
2
Hide whitespace changes
Inline
Side-by-side
THANKS
View file @
3ab9ffb0
...
...
@@ -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
...
...
modules/video_output/x11/xcommon.c
View file @
3ab9ffb0
...
...
@@ -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
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment