Searched refs:SDL_BUTTON (Results 1 – 6 of 6) 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()
222 …io.MouseDown[0] = g_MousePressed[0] || (mouse_buttons & SDL_BUTTON(SDL_BUTTON_LEFT)) != 0; // If … in ImGui_ImplSDL2_UpdateMousePosAndButtons()223 io.MouseDown[1] = g_MousePressed[1] || (mouse_buttons & SDL_BUTTON(SDL_BUTTON_RIGHT)) != 0; in ImGui_ImplSDL2_UpdateMousePosAndButtons()224 io.MouseDown[2] = g_MousePressed[2] || (mouse_buttons & SDL_BUTTON(SDL_BUTTON_MIDDLE)) != 0; in ImGui_ImplSDL2_UpdateMousePosAndButtons()
313 …io.MouseDown[0] = bd->MousePressed[0] || (mouse_buttons & SDL_BUTTON(SDL_BUTTON_LEFT)) != 0; // I… in ImGui_ImplSDL2_UpdateMousePosAndButtons()314 io.MouseDown[1] = bd->MousePressed[1] || (mouse_buttons & SDL_BUTTON(SDL_BUTTON_RIGHT)) != 0; in ImGui_ImplSDL2_UpdateMousePosAndButtons()315 io.MouseDown[2] = bd->MousePressed[2] || (mouse_buttons & SDL_BUTTON(SDL_BUTTON_MIDDLE)) != 0; in ImGui_ImplSDL2_UpdateMousePosAndButtons()
95 if (mouse->buttonstate & SDL_BUTTON(i)) { in SDL_ResetMouse()337 buttonstate |= SDL_BUTTON(button);341 buttonstate &= ~SDL_BUTTON(button);
210 if (data->focus_click_pending & SDL_BUTTON(button)) { in WIN_CheckWParamMouseButton()213 data->focus_click_pending &= ~SDL_BUTTON(button); in WIN_CheckWParamMouseButton()