mirror of https://github.com/mpv-player/mpv
- added keymapping to toggle OSD ('o' key)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@387 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
39765b05ea
commit
80c656dd09
|
@ -65,6 +65,8 @@
|
||||||
* - added code to comply with new fullscreen meaning
|
* - added code to comply with new fullscreen meaning
|
||||||
* - changed fullscreen-mode-cycling from '+' to 'c' (interferred with audiosync
|
* - changed fullscreen-mode-cycling from '+' to 'c' (interferred with audiosync
|
||||||
* adjustment)
|
* adjustment)
|
||||||
|
* Felix Buenemann <Atmosfear@users.sourceforge.net> - April 13, 2001
|
||||||
|
* - added keymapping to toggle OSD ('o' key)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -612,6 +614,7 @@ static void check_events (void)
|
||||||
SDL_ShowCursor(1);
|
SDL_ShowCursor(1);
|
||||||
mplayer_put_key('q');
|
mplayer_put_key('q');
|
||||||
break;
|
break;
|
||||||
|
case SDLK_o: mplayer_put_key('o');break;
|
||||||
case SDLK_p: mplayer_put_key('p');break;
|
case SDLK_p: mplayer_put_key('p');break;
|
||||||
case SDLK_SPACE: mplayer_put_key(' ');break;
|
case SDLK_SPACE: mplayer_put_key(' ');break;
|
||||||
case SDLK_UP: mplayer_put_key(KEY_UP);break;
|
case SDLK_UP: mplayer_put_key(KEY_UP);break;
|
||||||
|
|
Loading…
Reference in New Issue