Mercurial > mplayer.hg
changeset 637:19d941a8b46f
Added support for osd menue and kexrepeats for mixer keys.
author | atmosfear |
---|---|
date | Wed, 25 Apr 2001 21:04:56 +0000 |
parents | 10c88fb49133 |
children | db92248b5e78 |
files | libvo/vo_sdl.c |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_sdl.c Wed Apr 25 20:44:30 2001 +0000 +++ b/libvo/vo_sdl.c Wed Apr 25 21:04:56 2001 +0000 @@ -809,6 +809,12 @@ case SDLK_DOWN: mplayer_put_key(KEY_DOWN);break; case SDLK_LEFT: mplayer_put_key(KEY_LEFT);break; case SDLK_RIGHT: mplayer_put_key(KEY_RIGHT);break; + case SDLK_ASTERISK: + case SDLK_KP_MULTIPLY: + case SDLK_w: mplayer_put_key('*');break; + case SDLK_SLASH: + case SDLK_KP_DIVIDE: + case SDLK_s: mplayer_put_key('/');break; } break; case SDL_KEYUP: @@ -853,12 +859,7 @@ case SDLK_KP_PLUS: mplayer_put_key('+');break; case SDLK_MINUS: case SDLK_KP_MINUS: mplayer_put_key('-');break; - case SDLK_ASTERISK: - case SDLK_KP_MULTIPLY: - case SDLK_w: mplayer_put_key('*');break; - case SDLK_SLASH: - case SDLK_KP_DIVIDE: - case SDLK_s: mplayer_put_key('/');break; + case SDLK_TAB: mplayer_put_key('\t');break; default: mplayer_put_key(keypressed); }