quirks: no button debouncing on generic emulated mouse

When the kernel doesn't support a touchpad, the device is handled as a
generic mouse named "ImPS/2 Generic Wheel Mouse".
Taps are handled as button clicks and the button debouncing code makes
it difficult to double click.

Add a quirk to disable button debouncing for this devices.

Fix https://gitlab.freedesktop.org/libinput/libinput/-/issues/656

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
This commit is contained in:
José Expósito 2021-09-12 17:11:27 +02:00 committed by Peter Hutterer
parent dbcb003c5e
commit c9483a6a82

View file

@ -0,0 +1,6 @@
# Do not edit this file, it will be overwritten on update
# https://gitlab.freedesktop.org/libinput/libinput/-/issues/656
[Emulated Mouse]
MatchName=ImPS/2 Generic Wheel Mouse
ModelBouncingKeys=1