include/SDL_mouse.h
changeset 2284 545fbf461c5b
parent 2242 313112f9ac5c
child 2710 44e49d3fa6cf
child 3760 64f346a83ed3
equal deleted inserted replaced
2283:546f7c1eb755 2284:545fbf461c5b
   205  */
   205  */
   206 #define SDL_BUTTON(X)		(1 << ((X)-1))
   206 #define SDL_BUTTON(X)		(1 << ((X)-1))
   207 #define SDL_BUTTON_LEFT		1
   207 #define SDL_BUTTON_LEFT		1
   208 #define SDL_BUTTON_MIDDLE	2
   208 #define SDL_BUTTON_MIDDLE	2
   209 #define SDL_BUTTON_RIGHT	3
   209 #define SDL_BUTTON_RIGHT	3
       
   210 #define SDL_BUTTON_X1		4
       
   211 #define SDL_BUTTON_X2		5
   210 #define SDL_BUTTON_LMASK	SDL_BUTTON(SDL_BUTTON_LEFT)
   212 #define SDL_BUTTON_LMASK	SDL_BUTTON(SDL_BUTTON_LEFT)
   211 #define SDL_BUTTON_MMASK	SDL_BUTTON(SDL_BUTTON_MIDDLE)
   213 #define SDL_BUTTON_MMASK	SDL_BUTTON(SDL_BUTTON_MIDDLE)
   212 #define SDL_BUTTON_RMASK	SDL_BUTTON(SDL_BUTTON_RIGHT)
   214 #define SDL_BUTTON_RMASK	SDL_BUTTON(SDL_BUTTON_RIGHT)
       
   215 #define SDL_BUTTON_X1MASK	SDL_BUTTON(SDL_BUTTON_X1)
       
   216 #define SDL_BUTTON_X2MASK	SDL_BUTTON(SDL_BUTTON_X2)
   213 
   217 
   214 
   218 
   215 /* Ends C function definitions when using C++ */
   219 /* Ends C function definitions when using C++ */
   216 #ifdef __cplusplus
   220 #ifdef __cplusplus
   217 /* *INDENT-OFF* */
   221 /* *INDENT-OFF* */