diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-10-11 10:21:54 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-10-19 00:16:15 +0000 |
commit | ec5d7702ff25787d253f9aad012972f0525c3492 (patch) | |
tree | e8e2313565a8ec6bf798c72756d43bd8df8fb331 /test | |
parent | e96904e906e81774b40c0c7dacc9a3f2cbf086e0 (diff) |
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 <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/litest-device-vmware-virtual-usb-mouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/litest-device-vmware-virtual-usb-mouse.c b/test/litest-device-vmware-virtual-usb-mouse.c index 545316c3..faefda33 100644 --- a/test/litest-device-vmware-virtual-usb-mouse.c +++ b/test/litest-device-vmware-virtual-usb-mouse.c @@ -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", |