From c9483a6a82177d9b3bc29a063c2a952aa56e0bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Sun, 12 Sep 2021 17:11:27 +0200 Subject: [PATCH] quirks: no button debouncing on generic emulated mouse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- quirks/10-generic-mouse.quirks | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 quirks/10-generic-mouse.quirks 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