debounce: disable debouncing on the Logitech K400
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 12 Apr 2018 22:57:05 +0000 (08:57 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 12 Apr 2018 23:29:36 +0000 (09:29 +1000)
commit23614f75515ddb97089e2554a304aac3d951cff3
tree9cc1cb77c87822c2c491f792c9b1c70c0bf1222d
parent36514957980af416b2f44d3b6dc6827279183305
debounce: disable debouncing on the Logitech K400

This is an external keyboard+touchpad but not recognised as touchpad by the
kernel so it's in mouse emulation mode. Double-taps are sent with impossibly
close timestamps and filtered out by the debouncing code. Since this isn't a
real button that can wear out anyway, let's just disable debouncing on this
device.

https://bugs.freedesktop.org/show_bug.cgi?id=105974

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-debounce.c
src/evdev.c
src/evdev.h
udev/90-libinput-model-quirks.hwdb