Searched refs:SDL_BUTTON (Results 1 – 5 of 5) sorted by relevance
281 #define SDL_BUTTON(X) (1 << ((X)-1)) macro287 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT)288 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE)289 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT)290 #define SDL_BUTTON_X1MASK SDL_BUTTON(SDL_BUTTON_X1)291 #define SDL_BUTTON_X2MASK SDL_BUTTON(SDL_BUTTON_X2)
19 (state == SDL_BUTTON(SDL_BUTTON_LEFT)) || in _mouseStateCheck()20 (state == SDL_BUTTON(SDL_BUTTON_MIDDLE)) || in _mouseStateCheck()21 (state == SDL_BUTTON(SDL_BUTTON_RIGHT)) || in _mouseStateCheck()22 (state == SDL_BUTTON(SDL_BUTTON_X1)) || in _mouseStateCheck()23 (state == SDL_BUTTON(SDL_BUTTON_X2)); in _mouseStateCheck()
194 if (mouse->buttonstate & SDL_BUTTON(i)) {517 buttonstate |= SDL_BUTTON(button);521 buttonstate &= ~SDL_BUTTON(button);
242 if (event.buttonMask & SDL_BUTTON(i)) {295 if (!(event.buttonMask & SDL_BUTTON(i))) {
234 if (data->focus_click_pending & SDL_BUTTON(button)) { in WIN_CheckWParamMouseButton()237 data->focus_click_pending &= ~SDL_BUTTON(button); in WIN_CheckWParamMouseButton()
Completed in 10 milliseconds