On a machine with a touchpad (using, i guess, synaptics driver), scrolling by sliding the finger at the right of the touchpad produces smooth scrolling (that is, if i only do a tiny movement i only get a scrolling of a few pixels instead of a whole line) in softwares that support it like nautilus.
One would expect that the option EmulateWheel of the evdev driver (used on a trackball without scrollwheel) produces the same effect, since it's all about scrolling being produces by an analogical source instead of being produced by buttons 4 and 5.
yes, that would be the right thing to do here and patches are welcome.
Note that you could either add a separate scroll axis (difficult, if enabled at runtime) or scale the inertia setting into the existing scroll axes' increment. since we currently can't change the increment on a scroll class at runtime, the latter is the better approach.
Created attachment 116551 [details]
Patch that applies against 2.9.0
I dug this patch out from a mailing list post a while back and forward-ported it to 2.9.0. It works, at least on 2.9.0.
I tried applying it on git master, but have been unable to get it working correctly there.
Created attachment 123310 [details] [review]
Patch against 2.9.2
Yes, back in 2014, Max tried getting this patch upstream, but there was no response. I'd love to see this in the driver, as trackpoint smooth scrolling is really pleasant.
I've ported the patch to v2.9.2. I didn't bother with git, because I'm no developer and barely know what I'm doing anyway :P
I tried tweaking the patch for v2.10.3, but I know too little of the context to deal with patches like this: https://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/commit/?id=593bbc6390aa6f9feec0e2b081e1bfe6ab03595a :(
Unless someone more knowledgeable comes along, I guess this stops the smooth-scrolling adventures.
As for me, I get the functionality by using the libinput driver. All I can do regarding buttons mapping and stuff is possible as well and libinput is the recommended driver nowadays, isn't it ?
So problem is workarounded :).
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-input-evdev/issues/2.