include/SDL_mouse.h
changeset 1330 450721ad5436
parent 1312 c9b51268668f
child 1356 67114343400d
equal deleted inserted replaced
1329:bc67bbf87818 1330:450721ad5436
   113    Button 2:	Middle mouse button
   113    Button 2:	Middle mouse button
   114    Button 3:	Right mouse button
   114    Button 3:	Right mouse button
   115    Button 4:	Mouse wheel up	 (may also be a real button)
   115    Button 4:	Mouse wheel up	 (may also be a real button)
   116    Button 5:	Mouse wheel down (may also be a real button)
   116    Button 5:	Mouse wheel down (may also be a real button)
   117  */
   117  */
   118 #define SDL_BUTTON(X)		(SDL_PRESSED << ((X)-1))
   118 #define SDL_BUTTON(X)		(1 << ((X)-1))
   119 #define SDL_BUTTON_LEFT		1
   119 #define SDL_BUTTON_LEFT		1
   120 #define SDL_BUTTON_MIDDLE	2
   120 #define SDL_BUTTON_MIDDLE	2
   121 #define SDL_BUTTON_RIGHT	3
   121 #define SDL_BUTTON_RIGHT	3
   122 #define SDL_BUTTON_WHEELUP	4
   122 #define SDL_BUTTON_WHEELUP	4
   123 #define SDL_BUTTON_WHEELDOWN	5
   123 #define SDL_BUTTON_WHEELDOWN	5