Finer grained speed/acceleration controls for Touchpad scrolling

For Touchpad scrolling, the only customization is the speed divisor. I had to turn it up to 50-60 to slow down scrolling enough to be usable.

However, it now feels a bit choppy.

I wish it had finer grained controls to experiment with, more akin to the base/speed/acceleration settings of the pointer. More of a curve rather than a linear feel.

Is this possible?

Those base/speed/acceleration controls apply to scrolling as well, so you can easily.

(The calculation first takes the input deltas, then applies acceleration, then applies divisors (for non-cursor modes), then discretization (for axis-locked modes and modes that are inherently discrete).

You may want to try disabling Axis locking, or maybe tweak its configuration.

1 Like

Thanks, I didn’t realize that. I was able to improve the situation a bit by turning speed down, acceleration off, and putting the scroll divisor much higher. It’s not perfect but better. (Also tried experimenting with the axis locking, but it didn’t seem to help.)

I still think it would be better to decouple the pointer/scroll settings if possible, and have them independently adjustable. Not only because it would increase flexibility, but it would also mirror the separation in the Mouse Key settings. Because they are separate there, I didn’t even consider that they’d be combined for the Touchpad, that’s a bit counter-intuitive.

At the very least, it may be good to put a note in the Touchpad speed tooltips that the speed applies to both pointer and scrolling.

Thanks again for your help.

I still think it would be better to decouple the pointer/scroll settings if possible

I don’t see that.

At the end of the day, you want to be able to use the module to control any of the navigation modes in a way that allows you both precise movement and fast swipes. The only difference is that an old convention says that scrolling produces them in large chunks.

Two more suggestions:

  • to some hosts, uhk’s high resolution scrolling causes issues. I suspect yours may be one of them, as if it was well supported, you should (according to my understanding) see smooth movement instead of anything choppy. can give a try to set simulateLowResScrolling true in $onInit

  • if you are fine scrolling using navigation modes (layer hold) instead of the dedicated two-finger gesture, then you can set different settings per-layer via the macro events.

E.g.,

Macro $onLayerChange base:

set module.trackball.baseSpeed 0.5
set module.trackball.speed 1.0
set module.trackball.xceleration 1.0

Macro $onLayerChange mod:

set module.trackball.baseSpeed 0.5
set module.trackball.speed 1.0
set module.trackball.xceleration 2.0
1 Like