Home
last modified time | relevance | path

Searched refs:button (Results 1 – 25 of 30) sorted by relevance

12

/qemu/docs/interop/
A Dbarrier.rst201 ``{ int16_t keyid, int16_t modifier [,int16_t button] }``
209 ``button`` = X11 Xkb keycode (optional)
227 ``button`` = X11 Xkb keycode (optional)
235 ``{ int16_t keyid, int16_t modifier [,int16_t button] }``
243 ``button`` = X11 Xkb keycode (optional)
251 ``{ int8_t button }``
253 Mouse button pressed.
255 ``button`` = button id
263 ``{ int8_t button }``
265 Mouse button release.
[all …]
/qemu/ui/
A Dinput-legacy.c128 s->buttons |= bmap[btn->button]; in legacy_mouse_event()
130 s->buttons &= ~bmap[btn->button]; in legacy_mouse_event()
132 if (btn->down && btn->button == INPUT_BUTTON_WHEEL_UP) { in legacy_mouse_event()
139 if (btn->down && btn->button == INPUT_BUTTON_WHEEL_DOWN) { in legacy_mouse_event()
146 if (btn->down && btn->button == INPUT_BUTTON_WHEEL_RIGHT) { in legacy_mouse_event()
153 if (btn->down && btn->button == INPUT_BUTTON_WHEEL_LEFT) { in legacy_mouse_event()
A Dinput-barrier.h80 int16_t button; member
87 int16_t button; member
A Dinput-barrier.c296 msg->key.button = 0; in readcmd()
298 read_short(msg->key.button, p, len); in readcmd()
305 msg->repeat.button = 0; in readcmd()
307 read_short(msg->repeat.button, p, len); in readcmd()
435 input_barrier_to_qcode(msg->key.keyid, msg->key.button), in writecmd()
441 input_barrier_to_qcode(msg->repeat.keyid, msg->repeat.button), in writecmd()
444 input_barrier_to_qcode(msg->repeat.keyid, msg->repeat.button), in writecmd()
450 input_barrier_to_qcode(msg->key.keyid, msg->key.button), in writecmd()
A Ddbus-console.c476 guint button) in dbus_mouse_press() argument
478 trace_dbus_mouse_press(button); in dbus_mouse_press()
480 qemu_input_queue_btn(ddc->dcl.con, button, true); in dbus_mouse_press()
491 guint button) in dbus_mouse_release() argument
493 trace_dbus_mouse_release(button); in dbus_mouse_release()
495 qemu_input_queue_btn(ddc->dcl.con, button, false); in dbus_mouse_release()
A Dui-hmp-cmds.c33 int dx, dy, dz, button; in hmp_mouse_move() local
46 button = (dz > 0) ? INPUT_BUTTON_WHEEL_UP : INPUT_BUTTON_WHEEL_DOWN; in hmp_mouse_move()
47 qemu_input_queue_btn(NULL, button, true); in hmp_mouse_move()
49 qemu_input_queue_btn(NULL, button, false); in hmp_mouse_move()
A Dgtk.c981 static gboolean gd_button_event(GtkWidget *widget, GdkEventButton *button, in gd_button_event() argument
989 if (button->button == 1 && button->type == GDK_BUTTON_PRESS && in gd_button_event()
1000 if (button->button == 1) { in gd_button_event()
1002 } else if (button->button == 2) { in gd_button_event()
1004 } else if (button->button == 3) { in gd_button_event()
1006 } else if (button->button == 8) { in gd_button_event()
1008 } else if (button->button == 9) { in gd_button_event()
1014 if (button->type == GDK_2BUTTON_PRESS || button->type == GDK_3BUTTON_PRESS) { in gd_button_event()
1019 button->type == GDK_BUTTON_PRESS); in gd_button_event()
A Dsdl2.c537 struct sdl2_console *scon = get_scon_from_window(ev->button.windowID); in handle_mousebutton()
543 bev = &ev->button; in handle_mousebutton()
545 if (ev->type == SDL_MOUSEBUTTONUP && bev->button == SDL_BUTTON_LEFT) { in handle_mousebutton()
551 buttonstate |= SDL_BUTTON(bev->button); in handle_mousebutton()
553 buttonstate &= ~SDL_BUTTON(bev->button); in handle_mousebutton()
A Dinput-linux.c191 static void input_linux_event_mouse_button(int button) in input_linux_event_mouse_button() argument
193 qemu_input_queue_btn(NULL, button, true); in input_linux_event_mouse_button()
195 qemu_input_queue_btn(NULL, button, false); in input_linux_event_mouse_button()
A Dcocoa.m846 InputButton button;
1049 button = ([event deltaY] > 0) ?
1052 button = ([event deltaX] > 0) ?
1062 qemu_input_queue_btn(dcl.con, button, true);
1064 qemu_input_queue_btn(dcl.con, button, false);
1073 - (void) handleMouseEvent:(NSEvent *)event button:(InputButton)button down:(bool)down
1080 qemu_input_queue_btn(dcl.con, button, down);
1130 [self handleMouseEvent:event button:INPUT_BUTTON_LEFT down:true];
1135 [self handleMouseEvent:event button:INPUT_BUTTON_RIGHT down:true];
1164 [self handleMouseEvent:event button:INPUT_BUTTON_LEFT down:false];
[all …]
A Dtrace-events91 input_event_btn(int conidx, const char *btn, bool down) "con %d, button %s, down %d"
154 dbus_mouse_press(unsigned int button) "button %u"
155 dbus_mouse_release(unsigned int button) "button %u"
A Dinput.c210 name = InputButton_str(btn->button); in qemu_input_event_trace()
435 .button = btn, in qemu_input_queue_btn()
/qemu/hw/input/
A Dvirtio-input-hid.c113 (btn->button == INPUT_BUTTON_WHEEL_UP || in virtio_input_handle_event()
114 btn->button == INPUT_BUTTON_WHEEL_DOWN) && in virtio_input_handle_event()
118 event.value = cpu_to_le32(btn->button == INPUT_BUTTON_WHEEL_UP in virtio_input_handle_event()
121 } else if (keymap_button[btn->button]) { in virtio_input_handle_event()
123 event.code = cpu_to_le16(keymap_button[btn->button]); in virtio_input_handle_event()
129 btn->button, in virtio_input_handle_event()
130 InputButton_str(btn->button)); in virtio_input_handle_event()
A Dadb-mouse.c81 if (bmap[btn->button]) { in adb_mouse_handle_event()
83 s->buttons_state |= bmap[btn->button]; in adb_mouse_handle_event()
85 s->buttons_state &= ~bmap[btn->button]; in adb_mouse_handle_event()
A Dhid.c150 e->buttons_state |= bmap[btn->button]; in hid_pointer_event()
151 if (btn->button == INPUT_BUTTON_WHEEL_UP) { in hid_pointer_event()
153 } else if (btn->button == INPUT_BUTTON_WHEEL_DOWN) { in hid_pointer_event()
157 e->buttons_state &= ~bmap[btn->button]; in hid_pointer_event()
A Dps2.c821 s->mouse_buttons |= bmap[btn->button]; in ps2_mouse_event()
822 if (btn->button == INPUT_BUTTON_WHEEL_UP) { in ps2_mouse_event()
824 } else if (btn->button == INPUT_BUTTON_WHEEL_DOWN) { in ps2_mouse_event()
828 if (btn->button == INPUT_BUTTON_WHEEL_RIGHT) { in ps2_mouse_event()
830 } else if (btn->button == INPUT_BUTTON_WHEEL_LEFT) { in ps2_mouse_event()
834 s->mouse_buttons &= ~bmap[btn->button]; in ps2_mouse_event()
/qemu/replay/
A Dreplay-input.c49 replay_put_dword(btn->button); in replay_save_input_event()
109 evt.u.btn.data->button = (InputButton)replay_get_dword(); in replay_read_input_event()
/qemu/docs/system/arm/
A Dmusicpal.rst19 - 2 buttons, 2 navigation wheels with button function
/qemu/qapi/
A Dui.json1055 # @side: front side button of a 5-button mouse (since 2.9)
1057 # @extra: rear side button of a 5-button mouse (since 2.9)
1116 # Pointer button input event.
1118 # @button: Which button this event is for.
1125 'data' : { 'button' : 'InputButton',
1174 # @btn: a pointer button input event
1200 # @data: Pointer button input event
1276 # :title: Press left mouse button
1534 # @window-close: Allow to quit qemu with window close button
/qemu/chardev/
A Dmsmouse.c144 mouse->btns[btn->button] = btn->down; in msmouse_input_event()
145 mouse->btnc[btn->button] = true; in msmouse_input_event()
A Dwctablet.c163 tablet->btns[btn->button] = btn->down; in wctablet_input_event()
/qemu/python/qemu/qmp/
A Dqmp_tui.py528 def mouse_event(self, size: Tuple[int, int], _event: str, button: float,
532 if button == 4: # Scroll up event
534 elif button == 5: # Scroll down event
/qemu/docs/devel/testing/
A Dci-runners.rst.inc74 * Runners, and click on the "Expand" button, then
93 * Runners, and click on the "Expand" button, then
/qemu/include/standard-headers/linux/
A Dinput.h318 uint16_t button; member
/qemu/hw/char/
A Descc.c980 if (bmap[btn->button]) { in sunmouse_handle_event()
982 s->sunmouse_buttons |= bmap[btn->button]; in sunmouse_handle_event()
984 s->sunmouse_buttons &= ~bmap[btn->button]; in sunmouse_handle_event()

Completed in 41 milliseconds

12