You are not logged in.

#1 2017-02-08 15:24:07

amish
Member
Registered: 2014-05-10
Posts: 470

Libinput - enable only three-finger tapping

Today I switched to libinput from synaptics

But I came across one issue.

In synaptics I could keep "one finger" and "two finger" clicks disabled.

But was able to enable "three finger" click enabled.

50-synpatics.conf had this option.

...
        Option "TapButton1" "0"
        Option "TapButton2" "0"
        Option "TapButton3" "2"
...

0 Means disable that tapping behaviour.

But there is nothing similar in libinput

It just has "Tapping" on or off.

Which will either activate tapping for one, two, three fingers OR disable it completely.

Did I miss some option somewhere?

Thanks in advance.

Last edited by amish (2017-02-08 15:24:39)

Offline

#2 2017-02-09 13:35:50

digitalone
Member
Registered: 2011-08-19
Posts: 346

Re: Libinput - enable only three-finger tapping

Offline

#3 2017-02-10 08:53:05

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Libinput - enable only three-finger tapping

Nope that is for physical button and not for tapping on touchpad.

If I set ButtonMapping to "0 2 0"

Above means:
left click disabled
left+right (or middle) click enabled
right click disabled

i.e. It deactivated even physical left and right click

I am talking about tapping via finger on touchpad.

If tapping is enabled then:
single finger tap on touchpad triggers left click
double finger tap on touchpad triggers right click
triple finger tap on touchpad triggers middle click

What I want is that click using Physical buttons shud continue to work

But tap on touchpad shud work only for 3 finger tap and not 1 or 2 fingers.

Offline

#4 2017-02-10 09:14:22

digitalone
Member
Registered: 2011-08-19
Posts: 346

Re: Libinput - enable only three-finger tapping

That are the only options available on libinput. It seems you can't do that on it. Unfortunately this driver has less configurable options than synaptics.

Last edited by digitalone (2017-02-10 09:14:47)

Offline

#5 2017-02-12 15:55:31

joe_silver
Member
Registered: 2015-04-21
Posts: 27

Re: Libinput - enable only three-finger tapping

amish wrote:

I am talking about tapping via finger on touchpad.

If tapping is enabled then:
single finger tap on touchpad triggers left click
double finger tap on touchpad triggers right click
triple finger tap on touchpad triggers middle click

What I want is that click using Physical buttons should continue to work

But tap on touchpad should work only for 3 finger tap and not 1 or 2 fingers.

Hi amish,

for me the touchpad works exactly the way you describe it. I use the libinput driver with Gnome on X.org, so it might be the particular configuration of Gnome, but I think that you can easily configure it.

Be sure to install both libinput and xf86-input-libinput packages. If you check the libinput(4) man page you will find the option "TappingButtonMap":

Option "TappingButtonMap" "(lrm|lmr)"
              Set the button mapping for 1/2/3-finger taps to left/right/mid‐
              dle or left/middle/right, respectively.

Try if it works this way.

Offline

#6 2017-02-17 04:05:44

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Libinput - enable only three-finger tapping

Hi

You probably did not get my question. I want to disable tapping except for 3-finger tapping. i.e. middle click.

Offline

Board footer

Powered by FluxBB