diff options
author | 2008-10-12 15:58:44 +0000 | |
---|---|---|
committer | 2008-10-12 15:58:44 +0000 | |
commit | 73357cc804ea32e3f0d8c440b7d43eb9b12fab1a (patch) | |
tree | 099bf1a994c4719e0203a58dd45d2051f489701c | |
parent | ac3b6d090c0b5c6ee4efecf0b80a6c01bfd4572f (diff) |
Add missing support for some multimedia keys to X11 backend code.
patch by Jorge Lopez, jorgelt gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27747 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/x11_common.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 287e0b3a0a..233a10bbf1 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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; |