mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 09:56:30 +00:00
Allow XF86AudioLowerVolume/XF86AudioRaiseVolume keys to be handled by MPlayer.
patch by Michael Mauch, michael.mauch gmx de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24343 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4ca2425ee7
commit
b13b7a54c2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user