comparison libvo/vo_sdl.c @ 386:020ca66964e4

- added keymapping to toggle OSD ('o' key)
author atmosfear
date Fri, 13 Apr 2001 13:00:07 +0000
parents 681979d4031a
children f4fb35ef4c06
comparison
equal deleted inserted replaced
385:3360c39a6bb7 386:020ca66964e4
63 * - OSD and subtitle support added 63 * - OSD and subtitle support added
64 * - some minor code-changes 64 * - some minor code-changes
65 * - added code to comply with new fullscreen meaning 65 * - added code to comply with new fullscreen meaning
66 * - changed fullscreen-mode-cycling from '+' to 'c' (interferred with audiosync 66 * - changed fullscreen-mode-cycling from '+' to 'c' (interferred with audiosync
67 * adjustment) 67 * adjustment)
68 * Felix Buenemann <Atmosfear@users.sourceforge.net> - April 13, 2001
69 * - added keymapping to toggle OSD ('o' key)
68 */ 70 */
69 71
70 #include <stdio.h> 72 #include <stdio.h>
71 #include <stdlib.h> 73 #include <stdlib.h>
72 #include <string.h> 74 #include <string.h>
610 case SDLK_ESCAPE: 612 case SDLK_ESCAPE:
611 case SDLK_q: 613 case SDLK_q:
612 SDL_ShowCursor(1); 614 SDL_ShowCursor(1);
613 mplayer_put_key('q'); 615 mplayer_put_key('q');
614 break; 616 break;
617 case SDLK_o: mplayer_put_key('o');break;
615 case SDLK_p: mplayer_put_key('p');break; 618 case SDLK_p: mplayer_put_key('p');break;
616 case SDLK_SPACE: mplayer_put_key(' ');break; 619 case SDLK_SPACE: mplayer_put_key(' ');break;
617 case SDLK_UP: mplayer_put_key(KEY_UP);break; 620 case SDLK_UP: mplayer_put_key(KEY_UP);break;
618 case SDLK_DOWN: mplayer_put_key(KEY_DOWN);break; 621 case SDLK_DOWN: mplayer_put_key(KEY_DOWN);break;
619 case SDLK_LEFT: mplayer_put_key(KEY_LEFT);break; 622 case SDLK_LEFT: mplayer_put_key(KEY_LEFT);break;