Searched refs:buttonstate (Results 1 – 1 of 1) sorted by relevance
525 int buttonstate = SDL_GetMouseState(NULL, NULL); in handle_mousebutton() local546 buttonstate |= SDL_BUTTON(bev->button); in handle_mousebutton()548 buttonstate &= ~SDL_BUTTON(bev->button); in handle_mousebutton()550 sdl_send_mouse_event(scon, 0, 0, x, y, buttonstate); in handle_mousebutton()