Commit ec5d7702 authored by Peter Hutterer's avatar Peter Hutterer

quirks: disable debouncing on the VMware Virtual mice

At least on MacBooks, the host emulates two clicks 8ms apart in response to a
doubletap. Those clicks are filtered by our debouncing code.

Since these are emulated devices anyway 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.

Fixes #158
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent e96904e9
Pipeline #6007 passed with stages
in 7 minutes and 23 seconds
......@@ -261,6 +261,7 @@ quirks_data = [
'quirks/30-vendor-razer.quirks',
'quirks/30-vendor-synaptics.quirks',
'quirks/30-vendor-wacom.quirks',
'quirks/30-vendor-vmware.quirks',
'quirks/50-system-acer.quirks',
'quirks/50-system-apple.quirks',
'quirks/50-system-asus.quirks',
......
# Do not edit this file, it will be overwritten on update
[VMWare Virtual PS/2 Mouse]
MatchName=*VirtualPS/2 VMware VMMouse*
ModelBouncingKeys=1
[VMware VMware Virtual USB Mouse]
MatchName=*VMware VMware Virtual USB Mouse*
ModelBouncingKeys=1
......@@ -95,7 +95,7 @@ static int events[] = {
TEST_DEVICE("vmware-virtmouse",
.type = LITEST_VMWARE_VIRTMOUSE,
.features = LITEST_WHEEL | LITEST_BUTTON | LITEST_ABSOLUTE,
.features = LITEST_WHEEL | LITEST_BUTTON | LITEST_ABSOLUTE | LITEST_NO_DEBOUNCE,
.interface = &interface,
.name = "VMware VMware Virtual USB Mouse",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment