Mercurial > sdl-ios-xcode
diff src/video/wincommon/SDL_sysevents.c @ 451:24edec3cafe4
Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 19 Aug 2002 18:09:44 +0000 |
parents | 16d0449891b8 |
children | a6fa62b1be09 |
line wrap: on
line diff
--- a/src/video/wincommon/SDL_sysevents.c Mon Aug 19 17:58:08 2002 +0000 +++ b/src/video/wincommon/SDL_sysevents.c Mon Aug 19 18:09:44 2002 +0000 @@ -370,9 +370,9 @@ if ( move ) { Uint8 button; if ( move > 0 ) - button = 4; + button = SDL_BUTTON_WHEELUP; else - button = 5; + button = SDL_BUTTON_WHEELDOWN; posted = SDL_PrivateMouseButton( SDL_PRESSED, button, 0, 0); posted |= SDL_PrivateMouseButton(