changeset 27713:b82e78288439

Add missing support for some multimedia keys to X11 backend code. patch by Jorge Lopez, jorgelt gmail com
author diego
date Sun, 12 Oct 2008 15:58:44 +0000
parents daff903e23e2
children 426d528aaa28
files libvo/x11_common.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sun Oct 12 12:12:41 2008 +0000
+++ b/libvo/x11_common.c	Sun Oct 12 15:58:44 2008 +0000
@@ -546,6 +546,12 @@
 {
     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 @@
         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;