Debouncing does not work with Logitech M570
Summary
I have this wireless mouse and many times when I click, it starts double clicking. It has been like this for months and I know that libinput implements debouncing explained in https://wayland.freedesktop.org/libinput/doc/latest/button-debouncing.html
My mouse keeps double clicking even after I see in the logs that debouncing is enabled for it.
Steps to reproduce
Buy a defect Logitech M570 and start clicking ;) I know reproducing this is difficult so please let me know if you want more information.
Required information
- libinput version: 1.15.4
- hardware information: Logitech M570
-
libinput record
output: libinput_record.txt -
libinput debug-events --verbose
output: libinput_debug-events_--verbose.txt
The logs for libinput record
and libinput debug-events --verbose
were collected separately and I stopped the logging as soon as the mouse double clicked.
$ udevadm info /sys/class/input/event11
P: /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1.1/1-4.1.1:1.2/0003:046D:C52B.0003/0003:046D:1028.0009/input/input23/event11
N: input/event11
L: 0
S: input/by-id/usb-Logitech_USB_Receiver-if02-event-mouse
S: input/by-path/pci-0000:00:14.0-usb-0:4.1.1:1.2-event-mouse
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1.1/1-4.1.1:1.2/0003:046D:C52B.0003/0003:046D:1028.0009/input/input23/event11
E: DEVNAME=/dev/input/event11
E: MAJOR=13
E: MINOR=75
E: SUBSYSTEM=input
E: USEC_INITIALIZED=18922067
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_VENDOR=Logitech
E: ID_VENDOR_ENC=Logitech
E: ID_VENDOR_ID=046d
E: ID_MODEL=USB_Receiver
E: ID_MODEL_ENC=USB\x20Receiver
E: ID_MODEL_ID=c52b
E: ID_REVISION=1208
E: ID_SERIAL=Logitech_USB_Receiver
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030101:030102:030000:
E: ID_USB_INTERFACE_NUM=02
E: ID_USB_DRIVER=usbhid
E: ID_PATH=pci-0000:00:14.0-usb-0:4.1.1:1.2
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_4_1_1_1_2
E: ID_INPUT_TRACKBALL=1
E: MOUSE_DPI=540@167
E: LIBINPUT_DEVICE_GROUP=3/46d/1028:usb-0000:00:14.0-4.1
E: DEVLINKS=/dev/input/by-id/usb-Logitech_USB_Receiver-if02-event-mouse /dev/input/by-path/pci-0000:00:14.0-usb-0:4.1.1:1.2-event-mouse