quirks: disable debouncing on the VMware Virtual mice
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 11 Oct 2018 00:21:54 +0000 (10:21 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 19 Oct 2018 00:16:15 +0000 (00:16 +0000)
commitec5d7702ff25787d253f9aad012972f0525c3492
treee8e2313565a8ec6bf798c72756d43bd8df8fb331
parente96904e906e81774b40c0c7dacc9a3f2cbf086e0
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>
meson.build
quirks/30-vendor-vmware.quirks [new file with mode: 0644]
test/litest-device-vmware-virtual-usb-mouse.c