include/SDL_mouse.h
branchSDL-1.2
changeset 4009 1146681dbb74
parent 1358 c71e05b4dc2e
child 4011 f5794774970d
--- a/include/SDL_mouse.h	Fri Jul 06 07:45:33 2007 +0000
+++ b/include/SDL_mouse.h	Fri Jul 06 09:15:43 2007 +0000
@@ -115,6 +115,8 @@
    Button 3:	Right mouse button
    Button 4:	Mouse wheel up	 (may also be a real button)
    Button 5:	Mouse wheel down (may also be a real button)
+   Button 6:	Mouse wheel left (may also be a real button)
+   Button 7:	Mouse wheel right (may also be a real button)
  */
 #define SDL_BUTTON(X)		(1 << ((X)-1))
 #define SDL_BUTTON_LEFT		1
@@ -122,6 +124,8 @@
 #define SDL_BUTTON_RIGHT	3
 #define SDL_BUTTON_WHEELUP	4
 #define SDL_BUTTON_WHEELDOWN	5
+#define SDL_BUTTON_WHEELLEFT	6
+#define SDL_BUTTON_WHEELRIGHT	7
 #define SDL_BUTTON_LMASK	SDL_BUTTON(SDL_BUTTON_LEFT)
 #define SDL_BUTTON_MMASK	SDL_BUTTON(SDL_BUTTON_MIDDLE)
 #define SDL_BUTTON_RMASK	SDL_BUTTON(SDL_BUTTON_RIGHT)