Searched refs:last_buttons (Results 1 – 5 of 5) sorted by relevance
47 Uint32 last_buttons; member60 #define last_buttons (_this->hidden->last_buttons) macro
81 buttons = last_buttons; in QT_PumpEvents()134 if ( (buttons ^ last_buttons) & button_masks[i] ) { in QT_PumpEvents()142 last_buttons = buttons; in QT_PumpEvents()
252 static int last_buttons = 0; variable272 if (new_x != last_x || new_y != last_y || last_buttons != regs.r[2]) in RISCOS_PollMouseHelper()342 if (last_buttons != regs.r[2]) in RISCOS_PollMouseHelper()344 int changed = last_buttons ^ regs.r[2]; in RISCOS_PollMouseHelper()345 last_buttons = regs.r[2]; in RISCOS_PollMouseHelper()346 …if (changed & 4) SDL_PrivateMouseButton((last_buttons & 4) ? SDL_PRESSED : SDL_RELEASED, SDL_BUTTO… in RISCOS_PollMouseHelper()347 …if (changed & 2) SDL_PrivateMouseButton((last_buttons & 2) ? SDL_PRESSED : SDL_RELEASED, SDL_BUTTO… in RISCOS_PollMouseHelper()348 …if (changed & 1) SDL_PrivateMouseButton((last_buttons & 1) ? SDL_PRESSED : SDL_RELEASED, SDL_BUTTO… in RISCOS_PollMouseHelper()
255 last_buttons = buttons; in DispatchMessage()275 if ((buttons ^ B_PRIMARY_MOUSE_BUTTON) & last_buttons) { in DispatchMessage()278 if ((buttons ^ B_SECONDARY_MOUSE_BUTTON) & last_buttons) { in DispatchMessage()281 if ((buttons ^ B_TERTIARY_MOUSE_BUTTON) & last_buttons) { in DispatchMessage()286 last_buttons = buttons; in DispatchMessage()
52 last_buttons = 0; in SDL_BWin()279 int32 last_buttons; variable