virtio-input: add a virtio-mulitouch device
authorSergio Lopez <slp@redhat.com>
Fri, 26 May 2023 11:29:22 +0000 (13:29 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sun, 28 May 2023 09:08:25 +0000 (13:08 +0400)
commit8e9ebd7523915900dad0cab6eb807c773c37b5fc
treec4f48b5027fcbf4bb8076eb66d9597a0f78d3ad6
parent2bfb10dff2a21e42708aa4aef4bb64e8e3674858
virtio-input: add a virtio-mulitouch device

Add a virtio-multitouch device to the family of devices emulated by
virtio-input implementing the Multi-touch protocol as descripted here:

https://www.kernel.org/doc/html/latest/input/multi-touch-protocol.html?highlight=multi+touch

This patch just add the device itself, without connecting it to any
backends. The following patches will add a PCI-based multitouch device,
some helpers in "ui" and will enable the GTK3 backend to transpose
multi-touch events from the host to the guest.

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230526112925.38794-4-slp@redhat.com>
hw/input/virtio-input-hid.c
include/hw/virtio/virtio-input.h