Searched refs:buttons_state (Results 1 – 10 of 10) sorted by relevance
/openbmc/qemu/hw/usb/ |
H A D | dev-wacom.c | 46 int dx, dy, dz, buttons_state; member 192 int dx1, int dy1, int dz1, int buttons_state) in usb_mouse_event() argument 199 s->buttons_state = buttons_state; in usb_mouse_event() 205 int x, int y, int dz, int buttons_state) in usb_wacom_event() argument 213 s->buttons_state = buttons_state; in usb_wacom_event() 248 if (s->buttons_state & MOUSE_EVENT_LBUTTON) in usb_mouse_poll() 250 if (s->buttons_state & MOUSE_EVENT_RBUTTON) in usb_mouse_poll() 252 if (s->buttons_state & MOUSE_EVENT_MBUTTON) in usb_mouse_poll() 278 if (s->buttons_state & MOUSE_EVENT_LBUTTON) in usb_wacom_poll() 280 if (s->buttons_state & MOUSE_EVENT_RBUTTON) in usb_wacom_poll() [all …]
|
/openbmc/qemu/hw/input/ |
H A D | adb-mouse.c | 42 int buttons_state, last_buttons_state; member 83 s->buttons_state |= bmap[btn->button]; in adb_mouse_handle_event() 85 s->buttons_state &= ~bmap[btn->button]; in adb_mouse_handle_event() 112 if (s->last_buttons_state == s->buttons_state && in adb_mouse_poll() 133 s->last_buttons_state = s->buttons_state; in adb_mouse_poll() 138 if (!(s->buttons_state & ADB_MOUSE_BUTTON_LEFT)) { in adb_mouse_poll() 141 if (!(s->buttons_state & ADB_MOUSE_BUTTON_RIGHT)) { in adb_mouse_poll() 158 s->buttons_state = s->last_buttons_state; in adb_mouse_request() 242 return !(s->last_buttons_state == s->buttons_state && in adb_mouse_has_data() 253 s->last_buttons_state = s->buttons_state = 0; in adb_mouse_reset() [all …]
|
H A D | hid.c | 150 e->buttons_state |= bmap[btn->button]; in hid_pointer_event() 157 e->buttons_state &= ~bmap[btn->button]; in hid_pointer_event() 193 if (curr->buttons_state == prev->buttons_state) { in hid_pointer_sync() 221 next->buttons_state = curr->buttons_state; in hid_pointer_sync() 399 buf[l++] = e->buttons_state; in hid_pointer_poll() 414 buf[l++] = e->buttons_state; in hid_pointer_poll() 588 VMSTATE_INT32(buttons_state, HIDPointerEvent),
|
/openbmc/qemu/ui/ |
H A D | spice-input.c | 144 uint32_t buttons_state) in mouse_motion() argument 147 spice_update_buttons(pointer, dz, buttons_state); in mouse_motion() 153 static void mouse_buttons(SpiceMouseInstance *sin, uint32_t buttons_state) in mouse_buttons() argument 156 spice_update_buttons(pointer, 0, buttons_state); in mouse_buttons() 184 uint32_t buttons_state) in tablet_position() argument 188 spice_update_buttons(pointer, 0, buttons_state); in tablet_position() 196 uint32_t buttons_state) in tablet_wheel() argument 200 spice_update_buttons(pointer, wheel, buttons_state); in tablet_wheel() 205 uint32_t buttons_state) in tablet_buttons() argument 209 spice_update_buttons(pointer, 0, buttons_state); in tablet_buttons()
|
/openbmc/qemu/hw/i386/ |
H A D | vmmouse.c | 102 static void vmmouse_mouse_event(void *opaque, int x, int y, int dz, int buttons_state) in vmmouse_mouse_event() argument 110 trace_vmmouse_mouse_event(x, y, dz, buttons_state); in vmmouse_mouse_event() 112 if ((buttons_state & MOUSE_EVENT_LBUTTON)) in vmmouse_mouse_event() 114 if ((buttons_state & MOUSE_EVENT_RBUTTON)) in vmmouse_mouse_event() 116 if ((buttons_state & MOUSE_EVENT_MBUTTON)) in vmmouse_mouse_event()
|
H A D | trace-events | 127 vmmouse_mouse_event(int x, int y, int dz, int buttons_state) "event: x=%d y=%d dz=%d state=%d"
|
/openbmc/qemu/include/hw/input/ |
H A D | hid.h | 12 int32_t dz, buttons_state; member
|
/openbmc/linux/Documentation/input/joydev/ |
H A D | joystick-api.rst | 121 buttons_state ^= (1 << js_event.number); 130 buttons_state |= (1 << js_event.number); 132 buttons_state &= ~(1 << js_event.number);
|
/openbmc/qemu/include/ui/ |
H A D | console.h | 67 typedef void QEMUPutMouseEvent(void *opaque, int dx, int dy, int dz, int buttons_state);
|
/openbmc/qemu/hw/char/ |
H A D | trace-events | 53 escc_sunmouse_event(int dx, int dy, int buttons_state) "dx=%d dy=%d buttons=0x%01x"
|