Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32events.c @ 2130:3ee59c43d784
Fixes for compiling with Visual C++ 8.0 Express Edition
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 19 Jun 2007 05:53:56 +0000 |
parents | 3bcc26b74e42 |
children | e1a70460c354 |
comparison
equal
deleted
inserted
replaced
2129:047245361002 | 2130:3ee59c43d784 |
---|---|
588 button = SDL_BUTTON_RIGHT; | 588 button = SDL_BUTTON_RIGHT; |
589 state = SDL_RELEASED; | 589 state = SDL_RELEASED; |
590 break; | 590 break; |
591 case WM_XBUTTONDOWN: | 591 case WM_XBUTTONDOWN: |
592 xbuttonval = GET_XBUTTON_WPARAM(wParam); | 592 xbuttonval = GET_XBUTTON_WPARAM(wParam); |
593 button = SDL_BUTTON_WHEELDOWN + xbuttonval; | 593 button = SDL_BUTTON_RIGHT + xbuttonval; |
594 state = SDL_PRESSED; | 594 state = SDL_PRESSED; |
595 break; | 595 break; |
596 case WM_XBUTTONUP: | 596 case WM_XBUTTONUP: |
597 xbuttonval = GET_XBUTTON_WPARAM(wParam); | 597 xbuttonval = GET_XBUTTON_WPARAM(wParam); |
598 button = SDL_BUTTON_WHEELDOWN + xbuttonval; | 598 button = SDL_BUTTON_RIGHT + xbuttonval; |
599 state = SDL_RELEASED; | 599 state = SDL_RELEASED; |
600 break; | 600 break; |
601 default: | 601 default: |
602 /* Eh? Unknown button? */ | 602 /* Eh? Unknown button? */ |
603 return (0); | 603 return (0); |