Searched refs:buttonstate (Results 1 – 2 of 2) sorted by relevance
94 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) argument163 if (!inWindow && !buttonstate) {192 if (!SDL_UpdateMouseFocus(window, x, y, mouse->buttonstate)) {289 event.motion.state = mouse->buttonstate;331 Uint32 buttonstate = mouse->buttonstate; local337 buttonstate |= SDL_BUTTON(button);341 buttonstate &= ~SDL_BUTTON(button);[all …]
83 Uint32 buttonstate; member