quirks: no button debouncing on generic emulated mouse
authorJosé Expósito <jose.exposito89@gmail.com>
Sun, 12 Sep 2021 15:11:27 +0000 (17:11 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 12 Sep 2021 21:51:53 +0000 (21:51 +0000)
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>
quirks/10-generic-mouse.quirks [new file with mode: 0644]

diff --git a/quirks/10-generic-mouse.quirks b/quirks/10-generic-mouse.quirks
new file mode 100644 (file)
index 0000000..4186ed2
--- /dev/null
@@ -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