summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2021-09-12 17:11:27 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2021-09-12 21:51:53 +0000
commitc9483a6a82177d9b3bc29a063c2a952aa56e0bf0 (patch)
tree7ac1c43457dc0deb3f76768c136a7b211afa96f6
parentdbcb003c5e579a8dcbcb622f230be4f3672ea3c8 (diff)
downloadlibinput-c9483a6a82177d9b3bc29a063c2a952aa56e0bf0.tar.gz
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>
-rw-r--r--quirks/10-generic-mouse.quirks6
1 files changed, 6 insertions, 0 deletions
diff --git a/quirks/10-generic-mouse.quirks b/quirks/10-generic-mouse.quirks
new file mode 100644
index 00000000..4186ed2d
--- /dev/null
+++ b/quirks/10-generic-mouse.quirks
@@ -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