include/SDL_mouse.h
changeset 451 24edec3cafe4
parent 337 9154ec9ca3d2
child 769 b8d311d90021
     1.1 --- a/include/SDL_mouse.h	Mon Aug 19 17:58:08 2002 +0000
     1.2 +++ b/include/SDL_mouse.h	Mon Aug 19 18:09:44 2002 +0000
     1.3 @@ -117,11 +117,15 @@
     1.4     Button 1:	Left mouse button
     1.5     Button 2:	Middle mouse button
     1.6     Button 3:	Right mouse button
     1.7 +   Button 4:	Mouse wheel up	 (may also be a real button)
     1.8 +   Button 5:	Mouse wheel down (may also be a real button)
     1.9   */
    1.10  #define SDL_BUTTON(X)		(SDL_PRESSED<<(X-1))
    1.11  #define SDL_BUTTON_LEFT		1
    1.12  #define SDL_BUTTON_MIDDLE	2
    1.13  #define SDL_BUTTON_RIGHT	3
    1.14 +#define SDL_BUTTON_WHEELUP	4
    1.15 +#define SDL_BUTTON_WHEELDOWN	5
    1.16  #define SDL_BUTTON_LMASK	SDL_BUTTON(SDL_BUTTON_LEFT)
    1.17  #define SDL_BUTTON_MMASK	SDL_BUTTON(SDL_BUTTON_MIDDLE)
    1.18  #define SDL_BUTTON_RMASK	SDL_BUTTON(SDL_BUTTON_RIGHT)