You are not logged in.

#1 2016-03-13 13:13:05

justasug
Member
Registered: 2014-08-03
Posts: 165

[SOLVED] Libinput scrolling methods

I switched to the xf86-input-libinput driver for my Synaptics touchpad, replacing xf86-input-synaptics and xf86-input-evdev with it.

Everything seems to be working fine, except for the scrolling method. I want to enable both two-finger and edge scrolling. I read the libinput Wiki page and it says to use xinput to check out the available options. According to that, my device should support two-finger and edge scrolling with libinput.

$ xinput list-props 11

Device 'SynPS/2 Synaptics TouchPad':
	...
	libinput Tapping Enabled (279):	1
	libinput Tapping Enabled Default (280):	0
        ...
	libinput Scroll Methods Available (291):	1, 1, 0
	libinput Scroll Method Enabled (292):	1, 0, 0
	libinput Scroll Method Enabled Default (293):	1, 0, 0
	...

Then I tried to enable them using

xinput set-prop 11 292 1 1 0

but it's giving me an error (X Error of failed request:  BadValue (integer parameter out of range for operation). When I try to enable only one of them at a time (with 1 0 0 or 0 1 0) it's working. The Synaptics driver had no problems enabling both scrolling methods.

Does that mean that I can't have both scrolling methods at the same time with libinput?

Last edited by justasug (2016-03-14 21:02:09)

Offline

#2 2016-03-14 18:08:02

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [SOLVED] Libinput scrolling methods

Yes, same here - either method1 or 2. Maybe it gets expanded sometime.

Offline

#3 2016-03-14 19:28:18

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: [SOLVED] Libinput scrolling methods

From the manual,

$ man libinput
Libinput wrote:

       libinput Scroll Method Enabled
              3  boolean  values  (8  bit,  0  or 1), in order "two-finger", "edge", "button".  Indicates which scroll method is currently
              enabled on this device.

Since it is written in the singular, I guess only one can be enabled at a time.

Offline

#4 2016-03-14 21:01:56

justasug
Member
Registered: 2014-08-03
Posts: 165

Re: [SOLVED] Libinput scrolling methods

cafe wrote:

From the manual,
...
Since it is written in the singular, I guess only one can be enabled at a time.

Yep, that seems to be unfortunately the case. I'm marking this as solved.

Strike0 wrote:

Yes, same here - either method1 or 2. Maybe it gets expanded sometime.

Hopefully. Libinput offers a few other nice features that the Synaptics one can't do.

Last edited by justasug (2016-03-14 21:02:38)

Offline

Board footer

Powered by FluxBB