virtio-input: add multi-touch support
authorMathias Crombez <mathias.crombez@faurecia.com>
Fri, 15 Jan 2021 00:26:23 +0000 (02:26 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 12:52:59 +0000 (07:52 -0500)
commit16c10bede8b3d8594279752bf53153491f3f944f
tree42a0fa0f528b92c620121f3549e6d2add3305b36
parent0c4aeb4b5087f09ef61ff362394202ab7cf9f3e2
virtio-input: add multi-touch support

Without multi-touch slots allocated, ABS_MT_SLOT events will be lost by
input_handle_abs_event.

Implementation is based on uinput_create_device.

Signed-off-by: Mathias Crombez <mathias.crombez@faurecia.com>
Co-developed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Link: https://lore.kernel.org/r/20210115002623.8576-1-vasyl.vavrychuk@opensynergy.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/virtio/virtio_input.c