mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
ui: add helpers for virtio-multitouch events
Add helpers for generating Multi-touch events from the UI backends that can be sent to the guest through a virtio-multitouch device. Signed-off-by: Sergio Lopez <slp@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230526112925.38794-6-slp@redhat.com>
This commit is contained in:
parent
4b2321c966
commit
f6157392d4
2 changed files with 41 additions and 0 deletions
|
@ -64,6 +64,11 @@ int qemu_input_scale_axis(int value,
|
|||
void qemu_input_queue_rel(QemuConsole *src, InputAxis axis, int value);
|
||||
void qemu_input_queue_abs(QemuConsole *src, InputAxis axis, int value,
|
||||
int min_in, int max_in);
|
||||
void qemu_input_queue_mtt(QemuConsole *src, InputMultiTouchType type, int slot,
|
||||
int tracking_id);
|
||||
void qemu_input_queue_mtt_abs(QemuConsole *src, InputAxis axis, int value,
|
||||
int min_in, int max_in,
|
||||
int slot, int tracking_id);
|
||||
|
||||
void qemu_input_check_mode_change(void);
|
||||
void qemu_add_mouse_mode_change_notifier(Notifier *notify);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue