Home
last modified time | relevance | path

Searched refs:last_buttons (Results 1 – 5 of 5) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/
DSDL_lowvideo.h47 Uint32 last_buttons; member
60 #define last_buttons (_this->hidden->last_buttons) macro
DSDL_sysevents.cc81 buttons = last_buttons; in QT_PumpEvents()
134 if ( (buttons ^ last_buttons) & button_masks[i] ) { in QT_PumpEvents()
142 last_buttons = buttons; in QT_PumpEvents()
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_riscosevents.c252 static int last_buttons = 0; variable
272 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()
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
DSDL_sysevents.cc255 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()
DSDL_BWin.h52 last_buttons = 0; in SDL_BWin()
279 int32 last_buttons; variable