[MPlayer-cvslog] r24343 - trunk/libvo/x11_common.c

diego subversion at mplayerhq.hu
Wed Sep 5 13:09:25 CEST 2007


Author: diego
Date: Wed Sep  5 13:09:25 2007
New Revision: 24343

Log:
Allow XF86AudioLowerVolume/XF86AudioRaiseVolume keys to be handled by MPlayer.
patch by Michael Mauch, michael.mauch gmx de


Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	(original)
+++ trunk/libvo/x11_common.c	Wed Sep  5 13:09:25 2007
@@ -576,6 +576,12 @@ static void vo_x11_putkey_ext(int keysym
         case XF86XK_AudioNext:
             mplayer_put_key(KEY_NEXT);
             break;
+        case XF86XK_AudioLowerVolume:
+            mplayer_put_key(KEY_VOLUME_DOWN);
+            break;
+        case XF86XK_AudioRaiseVolume:
+            mplayer_put_key(KEY_VOLUME_UP);
+            break;
         default:
             break;
     }



More information about the MPlayer-cvslog mailing list