From 35b960c206e3880e929cd75cb6876f568bd3ad54 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 12 Oct 2006 00:39:47 +0000 Subject: Use MOUSE_BTN0 instead of MOUSE_BASE for consistency with other vo drivers. patch by Laurent Wozniak, laurent.wozniak laposte net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20170 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_sdl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 032b844ad6..38866d29cc 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -1190,15 +1190,15 @@ static void check_events (void) if(vo_nomouse_input) break; if(event.button.button == 4 || event.button.button == 5) - mplayer_put_key(MOUSE_BASE+event.button.button-1); + mplayer_put_key(MOUSE_BTN0+event.button.button-1); else - mplayer_put_key((MOUSE_BASE+event.button.button-1) | MP_KEY_DOWN); + mplayer_put_key((MOUSE_BTN0+event.button.button-1) | MP_KEY_DOWN); break; case SDL_MOUSEBUTTONUP: if(vo_nomouse_input) break; - mplayer_put_key(MOUSE_BASE+event.button.button-1); + mplayer_put_key(MOUSE_BTN0+event.button.button-1); break; /* graphics mode selection shortcuts */ -- cgit v1.2.3