qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Implement virtio-multitouch and enable GTK3 to use it
@ 2023-02-18 16:22 Sergio Lopez
  2023-02-18 16:22 ` [PATCH 1/4] virtio-input: generalize virtio_input_key_config() Sergio Lopez
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Sergio Lopez @ 2023-02-18 16:22 UTC (permalink / raw)
  To: qemu-devel
  Cc: Pavel Dovgalyuk, Michael S. Tsirkin, Gerd Hoffmann,
	Markus Armbruster, Paolo Bonzini, Eric Blake, Sergio Lopez

This series adds 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

It also extends the GTK UI backend to be able to receive multi-touch events
and transpose them to a guest, so the latter can recognize them as gestures
when appropriate.

An example of this in action can be seen here:

 https://fosstodon.org/@slp/109545849296546767

Sergio Lopez (4):
  virtio-input: generalize virtio_input_key_config()
  virtio-input: add a virtio-mulitouch device
  ui: add helpers for virtio-multitouch events
  ui/gtk: enable backend to send multi-touch events

 hw/input/virtio-input-hid.c      | 161 +++++++++++++++++++++++++++----
 hw/virtio/virtio-input-pci.c     |  25 ++++-
 include/hw/virtio/virtio-input.h |   9 +-
 include/ui/input.h               |   8 ++
 qapi/ui.json                     |  45 ++++++++-
 replay/replay-input.c            |  18 ++++
 ui/gtk.c                         |  84 ++++++++++++++++
 ui/input.c                       |  42 ++++++++
 ui/trace-events                  |   1 +
 9 files changed, 362 insertions(+), 31 deletions(-)

-- 
2.38.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-03-16 12:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-18 16:22 [PATCH 0/4] Implement virtio-multitouch and enable GTK3 to use it Sergio Lopez
2023-02-18 16:22 ` [PATCH 1/4] virtio-input: generalize virtio_input_key_config() Sergio Lopez
2023-02-19  8:07   ` Marc-André Lureau
2023-02-18 16:22 ` [PATCH 2/4] virtio-input: add a virtio-mulitouch device Sergio Lopez
2023-02-19  8:06   ` Marc-André Lureau
2023-02-21 11:57   ` Pavel Dovgalyuk
2023-02-18 16:22 ` [PATCH 3/4] ui: add helpers for virtio-multitouch events Sergio Lopez
2023-02-19  8:07   ` Marc-André Lureau
2023-02-18 16:22 ` [PATCH 4/4] ui/gtk: enable backend to send multi-touch events Sergio Lopez
2023-02-19  8:28   ` Marc-André Lureau
2023-03-16 12:21     ` Sergio Lopez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).