Searched refs:SDL_BUTTON (Results 1 – 3 of 3) sorted by relevance
119 #define SDL_BUTTON(X) (1 << ((X)-1)) macro125 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT)126 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE)127 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT)
159 if ( !(SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(1)) ) { in SVGA_mousecallback()163 if ( (SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(1)) ) { in SVGA_mousecallback()168 if ( !(SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(2)) ) { in SVGA_mousecallback()172 if ( (SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(2)) ) { in SVGA_mousecallback()177 if ( !(SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(3)) ) { in SVGA_mousecallback()181 if ( (SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(3)) ) { in SVGA_mousecallback()
62 if ( SDL_ButtonState & SDL_BUTTON(i) ) { in SDL_ResetMouse()230 buttonstate |= SDL_BUTTON(button); in SDL_PrivateMouseButton()234 buttonstate &= ~SDL_BUTTON(button); in SDL_PrivateMouseButton()