Searched refs:ButtonMask (Results 1 – 1 of 1) sorted by relevance
63 static const MouseButtonID ButtonMask[4] = {MB_Left, MB_Left, MB_Middle, MB_Right}; in capture() local84 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()