#[Solved] Pointing device snapping/smoothing

1 messages · Page 1 of 1 (latest)

slim void
#

Hey! I would really like to add some sort of smoothing to my trackball (zmk-pmw3610-driver by @fiery silo). There should be a configurable treshold, so that when the mouse movement is nearly horizontal/vertical, then the keyboard outputs purely horizontal/vertical movement. (This would be especially useful when scrolling through a document that can scroll a lot vertically and a bit horizontally, and without this feature, it keeps jiggling left/right when trying to scroll down.) If I understand the pointing device architecture correctly, this should probably be a kind of listener, and not be wired into a specific driver. Does something like this already exist? If not, can you recommend anything similar that I could use as a pointer (pun intended) for implementing it?

clear flint
#

Can apply to move if you convert move to scroll, snap, then convert back to move

slim void
#

Thank you so much! I will look into it.

clear flint
#

Actually that would prevent you from using move and scroll separately I guess, so this is mostly useful for quantizing scroll direction

#

In any case, that should be the main use case

slim void
slim void
clear flint
#

For mouse emulation keys they are separate because they have separate listeners

slim void
#

Thanks again, just updated my config. It's exactly what I needed.