include/SDL_mouse.h
changeset 1330 450721ad5436
parent 1312 c9b51268668f
child 1356 67114343400d
     1.1 --- a/include/SDL_mouse.h	Sat Feb 04 22:01:44 2006 +0000
     1.2 +++ b/include/SDL_mouse.h	Mon Feb 06 08:28:51 2006 +0000
     1.3 @@ -115,7 +115,7 @@
     1.4     Button 4:	Mouse wheel up	 (may also be a real button)
     1.5     Button 5:	Mouse wheel down (may also be a real button)
     1.6   */
     1.7 -#define SDL_BUTTON(X)		(SDL_PRESSED << ((X)-1))
     1.8 +#define SDL_BUTTON(X)		(1 << ((X)-1))
     1.9  #define SDL_BUTTON_LEFT		1
    1.10  #define SDL_BUTTON_MIDDLE	2
    1.11  #define SDL_BUTTON_RIGHT	3