From c28a6f85e27ae992524ef1f04c2675b01cfef3a9 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Thu, 15 Jun 2023 13:48:55 +0200 Subject: [PATCH] device: Implement the new touch interface --- lib/dbus-display1.xml | 45 ++++- lib/libmks.h | 1 + lib/meson.build | 2 + lib/mks-display-picture-private.h | 3 + lib/mks-display-picture.c | 87 +++++++- lib/mks-display.c | 2 + lib/mks-init.c | 2 + lib/mks-screen.c | 20 ++ lib/mks-screen.h | 2 + lib/mks-touchable.c | 316 ++++++++++++++++++++++++++++++ lib/mks-touchable.h | 88 +++++++++ lib/mks-types.h | 1 + 12 files changed, 566 insertions(+), 3 deletions(-) create mode 100644 lib/mks-touchable.c create mode 100644 lib/mks-touchable.h diff --git a/lib/dbus-display1.xml b/lib/dbus-display1.xml index 28e498b..e8f2394 100644 --- a/lib/dbus-display1.xml +++ b/lib/dbus-display1.xml @@ -39,8 +39,9 @@ "Text" (see :dbus:prop:`Type` and other properties). Interactions with a console may be done with - :dbus:iface:`org.qemu.Display1.Keyboard` and - :dbus:iface:`org.qemu.Display1.Mouse` interfaces when available. + :dbus:iface:`org.qemu.Display1.Keyboard`, + :dbus:iface:`org.qemu.Display1.Mouse` and + :dbus:iface:`org.qemu.Display1.Touch` interfaces when available. --> + + + + + + + + + + + + +