This commit introduces the VIR_DOMAIN_INPUT_TYPE_MULTITOUCH enum value to
the virDomainInputType enumeration, laying the groundwork for multitouch
input device support in libvirt.

The new enum value is added to src/conf/domain_conf.h following the
existing input types (mouse, tablet, keyboard, passthrough, evdev). This
establishes the fundamental type definition that will be used throughout
the codebase to identify and handle multitouch input devices.

This is the first step in implementing support for QEMU's virtio-multitouch
device, which was introduced in QEMU 8.1.0 and enables emulation of
multitouch events via the libvirt API.

Signed-off-by: Julio Faracco <[email protected]>
---
 src/conf/domain_conf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index cb35ff06bd..4c448bd010 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -1554,6 +1554,7 @@ typedef enum {
     VIR_DOMAIN_INPUT_TYPE_KBD,
     VIR_DOMAIN_INPUT_TYPE_PASSTHROUGH,
     VIR_DOMAIN_INPUT_TYPE_EVDEV,
+    VIR_DOMAIN_INPUT_TYPE_MULTITOUCH,
 
     VIR_DOMAIN_INPUT_TYPE_LAST
 } virDomainInputType;
-- 
2.52.0

Reply via email to