Home
last modified time | relevance | path

Searched refs:buttonstate (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_mouse.c94 for (i = 1; i <= sizeof(mouse->buttonstate)*8; ++i) { in SDL_ResetMouse()
95 if (mouse->buttonstate & SDL_BUTTON(i)) { in SDL_ResetMouse()
99 SDL_assert(mouse->buttonstate == 0); in SDL_ResetMouse()
140 SDL_UpdateMouseFocus(SDL_Window * window, int x, int y, Uint32 buttonstate) argument
163 if (!inWindow && !buttonstate) {
192 if (!SDL_UpdateMouseFocus(window, x, y, mouse->buttonstate)) {
289 event.motion.state = mouse->buttonstate;
331 Uint32 buttonstate = mouse->buttonstate; local
337 buttonstate |= SDL_BUTTON(button);
341 buttonstate &= ~SDL_BUTTON(button);
[all …]
DSDL_mouse_c.h83 Uint32 buttonstate; member