Regression in libinput >1.7 - "double-click" LMB no longer works
My mouse, Trust GXT 25, has a handy "double-click" button that, when pressed, acts as if the user pressed the left mouse button twice in a quick succession. In versions of libinput 1.8 and upwards, this no longer works, pressing the double-click button functions the same as the left mouse button from the end-user perspective.
Steps to reproduce
Install a version of libinput >1.7.3, reboot.
- hardware information: Trust GXT 25, recognised as "LXD Gaming Mouse" list-devices.txt
libinput recordoutput: record.yml
libinput debug-events --verboseoutput: debug-events.txt debug-events-1.7.txt
I have attached the output of
libinput-debug-events --verbose for both the latest version and the latest working version (1.7.3). I couldn't attach the output of
libinput record for 1.7.3 as it doesn't seem to have this tool.
In all of these instances, I pressed the "normal" LMB first, then the "double-click" button (I moved the mouse a little bit to give a clear visual distinction between the two presses in case it helps).
I am using Gentoo but I did try other distros (Ubuntu 19.04, Fedora 30) that use newer versions of libinput and I got the same result, the double-click didn't function as it should. Here is also my post about it on the Gentoo Forums.