Home
last modified time | relevance | path

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

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/SDL/
DSDLMouse.cpp81 int sdlButton = events[i].button.button; in capture() local
82 if( sdlButton <= SDL_BUTTON_RIGHT ) in capture()
84 mState.buttons |= (1 << ButtonMask[sdlButton]); in capture()
86 if( listener->mousePressed(MouseEvent(this,0,mState), ButtonMask[sdlButton]) == false ) in capture()
92 if( sdlButton == SDL_BUTTON_WHEELUP ) in capture()
94 else if( sdlButton == SDL_BUTTON_WHEELDOWN ) in capture()
101 int sdlButton = events[i].button.button; in capture() local
102 if( sdlButton <= SDL_BUTTON_RIGHT ) in capture()
104 mState.buttons &= ~(1 << ButtonMask[sdlButton]); in capture()
106 if( listener->mouseReleased(MouseEvent(this,0,mState), ButtonMask[sdlButton]) == false ) in capture()