include/SDL_mouse.h
branchSDL-1.2
changeset 4009 1146681dbb74
parent 1358 c71e05b4dc2e
child 4011 f5794774970d
     1.1 --- a/include/SDL_mouse.h	Fri Jul 06 07:45:33 2007 +0000
     1.2 +++ b/include/SDL_mouse.h	Fri Jul 06 09:15:43 2007 +0000
     1.3 @@ -115,6 +115,8 @@
     1.4     Button 3:	Right mouse button
     1.5     Button 4:	Mouse wheel up	 (may also be a real button)
     1.6     Button 5:	Mouse wheel down (may also be a real button)
     1.7 +   Button 6:	Mouse wheel left (may also be a real button)
     1.8 +   Button 7:	Mouse wheel right (may also be a real button)
     1.9   */
    1.10  #define SDL_BUTTON(X)		(1 << ((X)-1))
    1.11  #define SDL_BUTTON_LEFT		1
    1.12 @@ -122,6 +124,8 @@
    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_WHEELLEFT	6
    1.17 +#define SDL_BUTTON_WHEELRIGHT	7
    1.18  #define SDL_BUTTON_LMASK	SDL_BUTTON(SDL_BUTTON_LEFT)
    1.19  #define SDL_BUTTON_MMASK	SDL_BUTTON(SDL_BUTTON_MIDDLE)
    1.20  #define SDL_BUTTON_RMASK	SDL_BUTTON(SDL_BUTTON_RIGHT)