Home
last modified time | relevance | path

Searched refs:mouse_buttons (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_sdl.cpp221 Uint32 mouse_buttons = SDL_GetMouseState(&mx, &my); in ImGui_ImplSDL2_UpdateMousePosAndButtons() local
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()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_sdl.cpp312 Uint32 mouse_buttons = SDL_GetMouseState(&mouse_x_local, &mouse_y_local); in ImGui_ImplSDL2_UpdateMousePosAndButtons() local
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()
/third_party/libinput/test/
Dtest-tablet.c3195 START_TEST(mouse_buttons) in START_TEST() argument
6161 litest_add(mouse_buttons, LITEST_TABLET | LITEST_TOOL_MOUSE, LITEST_ANY); in TEST_COLLECTION()