From d253165d7ce6017dae456fd9c781e7b45ee890fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Thu, 16 Nov 2023 08:49:26 +0100 Subject: [PATCH] quirks: disable button debouncing for the QEMU/KVM mouse integration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using a touchpad to double click on a QEMU/KVM virtual machine, fast double taps are filtered by our debouncing code. Since these are emulated devices and by definition cannot have a stuck button, let's tag them so we don't enable the debouncing code. If the button of the physical device is stuck, that's a problem that needs to be fixed in the host system. The same device name and broken behavior was found in GNOME Boxes and Virtual Machine Manager. Signed-off-by: José Expósito --- quirks/30-vendor-qemu.quirks | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 quirks/30-vendor-qemu.quirks diff --git a/quirks/30-vendor-qemu.quirks b/quirks/30-vendor-qemu.quirks new file mode 100644 index 00000000..ae5b12a8 --- /dev/null +++ b/quirks/30-vendor-qemu.quirks @@ -0,0 +1,3 @@ +[QEMU/KVM mouse integration] +MatchName=*spice vdagent tablet* +ModelBouncingKeys=1