Home
last modified time | relevance | path

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

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/SDL/
DSDLMouse.cpp63 static const MouseButtonID ButtonMask[4] = {MB_Left, MB_Left, MB_Middle, MB_Right}; in capture() local
84 mState.buttons |= (1 << ButtonMask[sdlButton]); in capture()
86 if( listener->mousePressed(MouseEvent(this,0,mState), ButtonMask[sdlButton]) == false ) in capture()
104 mState.buttons &= ~(1 << ButtonMask[sdlButton]); in capture()
106 if( listener->mouseReleased(MouseEvent(this,0,mState), ButtonMask[sdlButton]) == false ) in capture()