1
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 01:36:25 +01:00

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
This commit is contained in:
diego 2008-10-12 15:58:44 +00:00
parent ac3b6d090c
commit 73357cc804

View File

@ -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;