From f32965a0f3f1fb09949eed01a3615d95f0e674dd Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Sat, 12 Jan 2019 01:00:49 +0800 Subject: [PATCH] qemu-android: enable usb tablet device It sets the pointer device uses absolute coordinates like a touchscreen. This means QEMU is able to report the mouse position without having to grab the mouse. --- rpm/qemu-android | 1 + 1 file changed, 1 insertion(+) diff --git a/rpm/qemu-android b/rpm/qemu-android index 5e5dc8c..6b7f82c 100644 --- a/rpm/qemu-android +++ b/rpm/qemu-android @@ -46,6 +46,7 @@ run_qemu_on_port() -append "CMDLINE console=ttyS0 RAMDISK=vdb $DATADEV" \ -initrd initrd.img \ -m 2048 -smp 2 -cpu host \ + -usbdevice tablet -machine vmport=off \ -soundhw ac97 \ -serial mon:stdio \ -boot menu=on \ -- 2.11.0