[MPlayer-cvslog] r27747 - trunk/libvo/x11_common.c
diego
subversion at mplayerhq.hu
Sun Oct 12 17:58:44 CEST 2008
Author: diego
Date: Sun Oct 12 17:58:44 2008
New Revision: 27747
Log:
Add missing support for some multimedia keys to X11 backend code.
patch by Jorge Lopez, jorgelt gmail com
Modified:
trunk/libvo/x11_common.c
Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c (original)
+++ trunk/libvo/x11_common.c Sun Oct 12 17:58:44 2008
@@ -546,6 +546,12 @@ static void vo_x11_putkey_ext(int keysym
{
switch (keysym)
{
+ case XF86XK_MenuKB:
+ mplayer_put_key(KEY_MENU);
+ break;
+ case XF86XK_AudioPlay:
+ mplayer_put_key(KEY_PLAY);
+ break;
case XF86XK_AudioPause:
mplayer_put_key(KEY_PAUSE);
break;
@@ -558,6 +564,9 @@ static void vo_x11_putkey_ext(int keysym
case XF86XK_AudioNext:
mplayer_put_key(KEY_NEXT);
break;
+ case XF86XK_AudioMute:
+ mplayer_put_key(KEY_MUTE);
+ break;
case XF86XK_AudioLowerVolume:
mplayer_put_key(KEY_VOLUME_DOWN);
break;
More information about the MPlayer-cvslog
mailing list