Home
last modified time | relevance | path

Searched refs:buttons_state (Results 1 – 11 of 11) sorted by relevance

/external/qemu/hw/
Dmsmouse.c34 int dx, int dy, int dz, int buttons_state) in msmouse_event() argument
46 bytes[0] |= (buttons_state & 0x01 ? 0x20 : 0x00); in msmouse_event()
47 bytes[0] |= (buttons_state & 0x02 ? 0x10 : 0x00); in msmouse_event()
48 bytes[3] |= (buttons_state & 0x04 ? 0x20 : 0x00); in msmouse_event()
Dusb-hid.c47 int dx, dy, dz, buttons_state; member
416 int dx1, int dy1, int dz1, int buttons_state) in usb_mouse_event() argument
424 s->buttons_state = buttons_state; in usb_mouse_event()
430 int x, int y, int dz, int buttons_state) in usb_tablet_event() argument
438 s->buttons_state = buttons_state; in usb_tablet_event()
530 if (s->buttons_state & MOUSE_EVENT_LBUTTON) in usb_mouse_poll()
532 if (s->buttons_state & MOUSE_EVENT_RBUTTON) in usb_mouse_poll()
534 if (s->buttons_state & MOUSE_EVENT_MBUTTON) in usb_mouse_poll()
566 if (s->buttons_state & MOUSE_EVENT_LBUTTON) in usb_tablet_poll()
568 if (s->buttons_state & MOUSE_EVENT_RBUTTON) in usb_tablet_poll()
[all …]
Dgoldfish_events_device.c266 static void events_put_mouse(void *opaque, int dx, int dy, int dz, int buttons_state) in events_put_mouse() argument
277 (buttons_state & 1) ? 0x81 : 0); in events_put_mouse()
282 enqueue_event(s, EV_KEY, BTN_TOUCH, buttons_state&1); in events_put_mouse()
Dps2.c331 int dx, int dy, int dz, int buttons_state) in ps2_mouse_event() argument
344 s->mouse_buttons == buttons_state) in ps2_mouse_event()
346 s->mouse_buttons = buttons_state; in ps2_mouse_event()
/external/qemu/
Duser-events-qemu.c45 user_event_mouse(int dx, int dy, int dz, unsigned buttons_state) in user_event_mouse() argument
47 kbd_mouse_event(dx, dy, dz, buttons_state); in user_event_mouse()
Dinput.c168 void kbd_mouse_event(int dx, int dy, int dz, int buttons_state) in kbd_mouse_event() argument
194 mouse_event(mouse_event_opaque, width - dy, dx, dz, buttons_state); in kbd_mouse_event()
196 mouse_event(mouse_event_opaque, dx, dy, dz, buttons_state); in kbd_mouse_event()
199 mouse_event(mouse_event_opaque, dx, dy, dz, buttons_state); in kbd_mouse_event()
Duser-events.h24 void user_event_mouse(int dx, int dy, int dz, unsigned buttons_state);
Dconsole.h33 typedef void QEMUPutMouseEvent(void *opaque, int dx, int dy, int dz, int buttons_state);
74 void kbd_mouse_event(int dx, int dy, int dz, int buttons_state);
/external/qemu/android/protocol/
Duser-events-proxy.c155 user_event_mouse(int dx, int dy, int dz, unsigned buttons_state) in user_event_mouse() argument
161 message.buttons_state = buttons_state; in user_event_mouse()
Duser-events-protocol.h43 unsigned buttons_state; member
Duser-events-impl.c139 ueimpl->mouse_event.buttons_state); in _userEventsImpl_io_func()