Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/include/
DSDL_mouse.h119 #define SDL_BUTTON(X) (1 << ((X)-1)) macro
125 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT)
126 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE)
127 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT)
/external/qemu/distrib/sdl-1.2.12/src/video/svga/
DSDL_svgaevents.c159 if ( !(SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(1)) ) { in SVGA_mousecallback()
163 if ( (SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(1)) ) { in SVGA_mousecallback()
168 if ( !(SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(2)) ) { in SVGA_mousecallback()
172 if ( (SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(2)) ) { in SVGA_mousecallback()
177 if ( !(SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(3)) ) { in SVGA_mousecallback()
181 if ( (SDL_GetMouseState(NULL, NULL) & SDL_BUTTON(3)) ) { in SVGA_mousecallback()
/external/qemu/distrib/sdl-1.2.12/src/events/
DSDL_mouse.c62 if ( SDL_ButtonState & SDL_BUTTON(i) ) { in SDL_ResetMouse()
230 buttonstate |= SDL_BUTTON(button); in SDL_PrivateMouseButton()
234 buttonstate &= ~SDL_BUTTON(button); in SDL_PrivateMouseButton()