Home
last modified time | relevance | path

Searched refs:SDL_BUTTON (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_mouse.h281 #define SDL_BUTTON(X) (1 << ((X)-1)) macro
287 #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)
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_mouse.c19 (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()
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_sdl.cpp222 …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()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_sdl.cpp313 …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()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_mouse.c95 if (mouse->buttonstate & SDL_BUTTON(i)) { in SDL_ResetMouse()
337 buttonstate |= SDL_BUTTON(button);
341 buttonstate &= ~SDL_BUTTON(button);
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsevents.c210 if (data->focus_click_pending & SDL_BUTTON(button)) { in WIN_CheckWParamMouseButton()
213 data->focus_click_pending &= ~SDL_BUTTON(button); in WIN_CheckWParamMouseButton()