Skip to content
Permalink
Browse files
Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5)
  • Loading branch information
slouken committed Aug 19, 2002
1 parent 11d0bc4 commit 0884fcf07adce3700b6831c9088a3d4f640df708

File 4 of 4 in 0884fcf

@@ -370,9 +370,9 @@ LONG CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
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(

0 comments on commit 0884fcf

Please sign in to comment.