hammerspoon
hammerspoon copied to clipboard
Mouse smooth scrolling
I want to use hammerspoon to achieve smooth mouse scrolling like Mos does, but I'm not sure if it's possible? My implementation idea is: intercept the mouse scroll event, and resend the scroll event after smooth interpolation. I saw #1540 so I know how to intercept mouse scroll events. But when I actually wrote the code, I found that if the scroll event was intercepted, after smooth interpolation, the resent scroll event would also be intercepted.
Add another flag when resend event to filter out may help avoiding endless loop
I will try again as you said when I have time, thanks.