You are not logged in.

#1 2020-03-21 23:45:46

grobber
Member
Registered: 2018-02-09
Posts: 29

[SOLVED] latest libinput conflates 2 and 3 taps

I have a Synaptics touchpad handled by xf86-input-libinput which I noticed just got updated (Mar 21 2020). I used to have double taps set to right click and triple taps to middle click. Now, now matter how I set the TappingButtonMap option in /etc/X11/xorg.conf.d/40-libinput.conf, double and triple taps behave identically. Right now, that file looks like this:

/etc/X11/xorg.conf.d/40-libinput.conf
---
Section "InputClass"
	Identifier "libinput touchpad catchall"
	MatchIsTouchpad "on"
	MatchDevicePath "/dev/input/event*"
	Driver "libinput"
	Option "Tapping" "on"
	Option "TappingButtonMap" "lrm"
EndSection

And both double and triple taps are right clicks (so the extra 'm' at the end seems to be ignored). Similarly, I've tried "lmr", in which case double and triple taps are both middle clicks. Either way, the third character in the value of TappingButtonMap apparently plays no role.

Last edited by grobber (2020-03-22 03:11:36)

Offline

#2 2020-03-22 00:37:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] latest libinput conflates 2 and 3 taps

Can't replicate. My button mappings work fine (double: middle click, triple: right click):

┌─[Shiv ~]
└─╼ pacman -Q libinput xf86-input-libinput                                                                                                                    
libinput 1.15.4-1
xf86-input-libinput 0.29.0-2

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-03-22 02:42:17

grobber
Member
Registered: 2018-02-09
Posts: 29

Re: [SOLVED] latest libinput conflates 2 and 3 taps

Hmm.. I have the exact same output.

Any ideas as to what it could be then?  Anything amiss in that .conf file?

The behavior is very consistent; I'm positive I'm not just failing to triple-tap here, since double and triple taps worked just fine before today:

I used to have no TappingButtonMap entry at all, and by default, double taps were right clicks and triple taps were middle clicks. It's only after the update that the triple taps reverted to right clicks, whereupon I tried the various TappingButtonMap options and observed the behavior reported: whatever I set the double tap to, the triple tap will do the same.

Offline

#4 2020-03-22 03:05:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] latest libinput conflates 2 and 3 taps

Please paste the output of `xinput list $device`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-03-22 03:11:04

grobber
Member
Registered: 2018-02-09
Posts: 29

Re: [SOLVED] latest libinput conflates 2 and 3 taps

Thanks, but actually, it worked after a reboot!

I don't know what happened; I expect it's possible a kernel upgrade meant some modules got wiped out (I've had this happen before). In any case, the "lmr" value for TappingButtonMap now works as expected: 2-finger taps are middle clicks and 3-finger taps are right clicks.

I think I'll mark this as 'solved'. Thanks again for all the help, but it appears to have been a bit of a false alarm..

Offline

Board footer

Powered by FluxBB