Lines Matching defs:button
150 static void SendMouseEvent(VBoxSDLFB *fb, int dz, int button, int down);
622 " --termacpi Send an ACPI power button event when closing the window\n"
645 " h Press ACPI power button\n"
2651 * A mouse button has been clicked or released.
2656 SDL_MouseButtonEvent *bev = &event.button;
2668 int dz = bev->button == SDL_BUTTON_WHEELUP
2670 : bev->button == SDL_BUTTON_WHEELDOWN
2700 fb = getFbFromWinId(event.button.windowID);
2704 SendMouseEvent(fb, dz, event.type == SDL_MOUSEBUTTONDOWN, bev->button);
2799 * when the mouse button was released.
3996 * Query mouse position and button state from SDL and send to the VM
4000 static void SendMouseEvent(VBoxSDLFB *fb, int dz, int down, int button)
4026 * call SDL_GetMouseState, the "button" is already up."
4078 * label area. Don't allow any mouse button press.
4080 button = 0;
4083 * Release any pressed button.
4124 * Button was pressed but that press is not reflected in the button state?
4126 if (down && !(state & SDL_BUTTON(button)))
4130 * and we see the events when the bit in the button state is already cleared
4134 switch (button)
5053 * Timer callback function to check if an ACPI power button event was handled by the guest.