changeset 24323:ddd7774aa043

Allow XF86AudioLowerVolume/XF86AudioRaiseVolume keys to be handled by MPlayer. patch by Michael Mauch, michael.mauch gmx de
author diego
date Wed, 05 Sep 2007 11:09:25 +0000
parents 6b2c9ecd167c
children b5e9d6f2eb01
files libvo/x11_common.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Wed Sep 05 10:48:35 2007 +0000
+++ b/libvo/x11_common.c	Wed Sep 05 11:09:25 2007 +0000
@@ -576,6 +576,12 @@
         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;
     }