Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/include/
A DSDL_mouse.h281 #define SDL_BUTTON(X) (1 << ((X)-1)) macro
287 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT)
288 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE)
289 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT)
290 #define SDL_BUTTON_X1MASK SDL_BUTTON(SDL_BUTTON_X1)
291 #define SDL_BUTTON_X2MASK SDL_BUTTON(SDL_BUTTON_X2)
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_mouse.c19 (state == SDL_BUTTON(SDL_BUTTON_LEFT)) || in _mouseStateCheck()
20 (state == SDL_BUTTON(SDL_BUTTON_MIDDLE)) || in _mouseStateCheck()
21 (state == SDL_BUTTON(SDL_BUTTON_RIGHT)) || in _mouseStateCheck()
22 (state == SDL_BUTTON(SDL_BUTTON_X1)) || in _mouseStateCheck()
23 (state == SDL_BUTTON(SDL_BUTTON_X2)); in _mouseStateCheck()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse.c194 if (mouse->buttonstate & SDL_BUTTON(i)) {
517 buttonstate |= SDL_BUTTON(button);
521 buttonstate &= ~SDL_BUTTON(button);
/AliOS-Things-master/components/SDL2/src/video/uikit/
A DSDL_uikitview.m242 if (event.buttonMask & SDL_BUTTON(i)) {
295 if (!(event.buttonMask & SDL_BUTTON(i))) {
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsevents.c234 if (data->focus_click_pending & SDL_BUTTON(button)) { in WIN_CheckWParamMouseButton()
237 data->focus_click_pending &= ~SDL_BUTTON(button); in WIN_CheckWParamMouseButton()

Completed in 10 milliseconds