diff src/video/wincommon/SDL_sysevents.c @ 4011:f5794774970d SDL-1.2

Reverted mousewheel support in 1.2, since it breaks binary compatibility.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 06 Jul 2007 13:39:03 +0000
parents 3aa1406620f6
children 82dab719502e
line wrap: on
line diff
--- a/src/video/wincommon/SDL_sysevents.c	Fri Jul 06 13:32:20 2007 +0000
+++ b/src/video/wincommon/SDL_sysevents.c	Fri Jul 06 13:39:03 2007 +0000
@@ -520,12 +520,12 @@
 						break;
 					case WM_XBUTTONDOWN:
 						xbuttonval = GET_XBUTTON_WPARAM(wParam);
-						button = SDL_BUTTON_WHEELRIGHT + xbuttonval;
+						button = SDL_BUTTON_WHEELDOWN + xbuttonval;
 						state = SDL_PRESSED;
 						break;
 					case WM_XBUTTONUP:
 						xbuttonval = GET_XBUTTON_WPARAM(wParam);
-						button = SDL_BUTTON_WHEELRIGHT + xbuttonval;
+						button = SDL_BUTTON_WHEELDOWN + xbuttonval;
 						state = SDL_RELEASED;
 						break;
 					default: