Lines Matching refs:buttonstate
103 int SDL_PrivateMouseMotion(Uint8 buttonstate, int relative, Sint16 x, Sint16 y)
115 /* Default buttonstate is the current one */
116 if ( ! buttonstate ) {
117 buttonstate = SDL_ButtonState;
166 SDL_ButtonState = buttonstate;
179 event.motion.state = buttonstate;
197 Uint8 buttonstate;
226 buttonstate = SDL_ButtonState;
230 buttonstate |= SDL_BUTTON(button);
234 buttonstate &= ~SDL_BUTTON(button);
242 SDL_ButtonState = buttonstate;