From ce43f62bd36970f5324c562f68261ae393a21fc9 Mon Sep 17 00:00:00 2001 From: Rajani Ranjan Date: Fri, 9 Dec 2022 14:18:23 +0530 Subject: [PATCH] support of usb-tablet mode in qemu. replaced usb-mouse with usb-tablet to support absolute coordinates.Pointer device that uses absolute coordinates(like touchscreen).This means QEMU is able to report the mouse position without having to grab the mouse. Also overrides the PS/2 mouse emulation when activated. Tracked-On: OAM-105231 Signed-off-by: Rajani Ranjan --- src/guest/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guest/start.c b/src/guest/start.c index 2f05c19..6cd339f 100644 --- a/src/guest/start.c +++ b/src/guest/start.c @@ -42,7 +42,7 @@ static const char *fixed_cmd = " -cpu host,-waitpkg" " -enable-kvm" " -device qemu-xhci,id=xhci,p2=8,p3=8" - " -device usb-mouse" + " -device usb-tablet" " -device usb-kbd" " -device intel-iommu,device-iotlb=on,caching-mode=on" " -nodefaults ";