| /qemu/docs/interop/ |
| A D | barrier.rst | 201 ``{ 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 D | input-legacy.c | 128 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 D | input-barrier.h | 80 int16_t button; member 87 int16_t button; member
|
| A D | input-barrier.c | 296 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 D | dbus-console.c | 476 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 D | ui-hmp-cmds.c | 33 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 D | gtk.c | 981 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 D | sdl2.c | 537 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 D | input-linux.c | 191 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 D | cocoa.m | 846 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 D | trace-events | 91 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 D | input.c | 210 name = InputButton_str(btn->button); in qemu_input_event_trace() 435 .button = btn, in qemu_input_queue_btn()
|
| /qemu/hw/input/ |
| A D | virtio-input-hid.c | 113 (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 D | adb-mouse.c | 81 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 D | hid.c | 150 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 D | ps2.c | 821 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 D | replay-input.c | 49 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 D | musicpal.rst | 19 - 2 buttons, 2 navigation wheels with button function
|
| /qemu/qapi/ |
| A D | ui.json | 1055 # @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 D | msmouse.c | 144 mouse->btns[btn->button] = btn->down; in msmouse_input_event() 145 mouse->btnc[btn->button] = true; in msmouse_input_event()
|
| A D | wctablet.c | 163 tablet->btns[btn->button] = btn->down; in wctablet_input_event()
|
| /qemu/python/qemu/qmp/ |
| A D | qmp_tui.py | 528 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 D | ci-runners.rst.inc | 74 * Runners, and click on the "Expand" button, then 93 * Runners, and click on the "Expand" button, then
|
| /qemu/include/standard-headers/linux/ |
| A D | input.h | 318 uint16_t button; member
|
| /qemu/hw/char/ |
| A D | escc.c | 980 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()
|