/qemu/ui/ |
H A D | input-legacy.c | 40 int axis[INPUT_AXIS__MAX]; member 171 s->axis[INPUT_AXIS_X], in legacy_mouse_event() 172 s->axis[INPUT_AXIS_Y], in legacy_mouse_event() 178 s->axis[INPUT_AXIS_X], in legacy_mouse_event() 179 s->axis[INPUT_AXIS_Y], in legacy_mouse_event() 200 s->axis[move->axis] = move->value; in legacy_mouse_event() 204 s->axis[move->axis] += move->value; in legacy_mouse_event() 216 s->axis[INPUT_AXIS_X], in legacy_mouse_sync() 217 s->axis[INPUT_AXIS_Y], in legacy_mouse_sync() 222 s->axis[INPUT_AXIS_X] = 0; in legacy_mouse_sync() [all …]
|
H A D | input.c | 187 if (move->axis == INPUT_AXIS_X) { in qemu_input_transform_abs_rotate() 188 move->axis = INPUT_AXIS_Y; in qemu_input_transform_abs_rotate() 190 move->axis = INPUT_AXIS_X; in qemu_input_transform_abs_rotate() 198 if (move->axis == INPUT_AXIS_X) { in qemu_input_transform_abs_rotate() 199 move->axis = INPUT_AXIS_Y; in qemu_input_transform_abs_rotate() 202 move->axis = INPUT_AXIS_X; in qemu_input_transform_abs_rotate() 246 name = InputAxis_str(move->axis); in qemu_input_event_trace() 256 name = InputAxis_str(mtt->axis); in qemu_input_event_trace() 522 .axis = axis, in qemu_input_queue_rel() 537 .axis = axis, in qemu_input_queue_abs() [all …]
|
H A D | trace-events | 92 input_event_rel(int conidx, const char *axis, int value) "con %d, axis %s, value %d" 93 input_event_abs(int conidx, const char *axis, int value) "con %d, axis %s, value 0x%x" 94 input_event_mtt(int conidx, const char *axis, int value) "con %d, axis %s, value 0x%x"
|
H A D | vdagent.c | 262 if (move->axis == INPUT_AXIS_X) { in vdagent_pointer_event() 267 } else if (move->axis == INPUT_AXIS_Y) { in vdagent_pointer_event()
|
/qemu/chardev/ |
H A D | msmouse.c | 62 int axis[INPUT_AXIS__MAX]; member 96 dx = mouse->axis[INPUT_AXIS_X]; in msmouse_queue_event() 97 mouse->axis[INPUT_AXIS_X] = 0; in msmouse_queue_event() 99 dy = mouse->axis[INPUT_AXIS_Y]; in msmouse_queue_event() 100 mouse->axis[INPUT_AXIS_Y] = 0; in msmouse_queue_event() 139 mouse->axis[move->axis] += move->value; in msmouse_input_event() 232 memset(mouse->axis, 0, sizeof(mouse->axis)); in msmouse_ioctl()
|
H A D | wctablet.c | 82 int axis[INPUT_AXIS__MAX]; member 130 int newX = tablet->axis[INPUT_AXIS_X] * 0.1537; in wctablet_queue_event() 131 int nexY = tablet->axis[INPUT_AXIS_Y] * 0.1152; in wctablet_queue_event() 158 tablet->axis[move->axis] = move->value; in wctablet_input_event()
|
/qemu/replay/ |
H A D | replay-input.c | 54 replay_put_dword(move->axis); in replay_save_input_event() 59 replay_put_dword(move->axis); in replay_save_input_event() 67 replay_put_dword(mtt->axis); in replay_save_input_event() 114 evt.u.rel.data->axis = (InputAxis)replay_get_dword(); in replay_read_input_event() 119 evt.u.abs.data->axis = (InputAxis)replay_get_dword(); in replay_read_input_event() 127 evt.u.mtt.data->axis = (InputAxis)replay_get_dword(); in replay_read_input_event()
|
/qemu/hw/input/ |
H A D | virtio-input-host.c | 73 static void virtio_input_abs_config(VirtIOInputHost *vih, int axis) in virtio_input_abs_config() argument 79 rc = ioctl(vih->fd, EVIOCGABS(axis), &absinfo); in virtio_input_abs_config() 86 config.subsel = axis; in virtio_input_abs_config() 104 int rc, ver, i, axis; in virtio_input_host_realize() local 164 axis = 8 * i; in virtio_input_host_realize() 167 virtio_input_abs_config(vih, axis); in virtio_input_host_realize() 169 axis++; in virtio_input_host_realize()
|
H A D | hid.c | 131 if (move->axis == INPUT_AXIS_X) { in hid_pointer_event() 133 } else if (move->axis == INPUT_AXIS_Y) { in hid_pointer_event() 140 if (move->axis == INPUT_AXIS_X) { in hid_pointer_event() 142 } else if (move->axis == INPUT_AXIS_Y) { in hid_pointer_event()
|
H A D | virtio-input-hid.c | 137 event.code = cpu_to_le16(axismap_rel[move->axis]); in virtio_input_handle_event() 144 event.code = cpu_to_le16(axismap_abs[move->axis]); in virtio_input_handle_event() 152 event.code = cpu_to_le16(axismap_tch[mtt->axis]); in virtio_input_handle_event()
|
H A D | ps2.c | 811 if (move->axis == INPUT_AXIS_X) { in ps2_mouse_event() 813 } else if (move->axis == INPUT_AXIS_Y) { in ps2_mouse_event()
|
/qemu/hw/display/ |
H A D | xenfb.c | 57 int axis[INPUT_AXIS__MAX]; member 269 xenfb->axis[move->axis] = move->value; in xenfb_mouse_event() 277 switch (move->axis) { in xenfb_mouse_event() 288 xenfb->axis[move->axis] = move->value * scale / 0x7fff; in xenfb_mouse_event() 294 xenfb->axis[move->axis] += move->value; in xenfb_mouse_event() 307 xenfb->axis[INPUT_AXIS_Y], in xenfb_mouse_sync() 312 xenfb->axis[INPUT_AXIS_Y], in xenfb_mouse_sync() 315 xenfb_send_motion(xenfb, xenfb->axis[INPUT_AXIS_X], in xenfb_mouse_sync() 316 xenfb->axis[INPUT_AXIS_Y], in xenfb_mouse_sync() 318 xenfb->axis[INPUT_AXIS_X] = 0; in xenfb_mouse_sync() [all …]
|
/qemu/include/ui/ |
H A D | input.h | 64 void qemu_input_queue_rel(QemuConsole *src, InputAxis axis, int value); 65 void qemu_input_queue_abs(QemuConsole *src, InputAxis axis, int value, 69 void qemu_input_queue_mtt_abs(QemuConsole *src, InputAxis axis, int value,
|
/qemu/scripts/ |
H A D | compare-machine-types.py | 267 return pd.concat(table, axis=1) 427 return table[~table.iloc[:, 3:].eq(table.iloc[:, 2], axis=0).all(axis=1)] 453 df_table = pd.concat(table, axis=1)
|
/qemu/tests/tcg/cris/ |
H A D | Makefile.target | 55 SIMG:=cris-axis-linux-gnu-run
|
/qemu/qapi/ |
H A D | ui.json | 1071 # Position axis of a pointer input device (mouse, tablet). 1134 # @axis: Which axis is referenced by @value. 1142 'data' : { 'axis' : 'InputAxis', 1157 # @axis: Which axis is referenced by @value. 1167 'axis' : 'InputAxis',
|
/qemu/ |
H A D | hmp-commands.hx | 734 with optional scroll axis *dz*.
|