Live data from Hacker News

Mouse scroll wheel acceleration, implemented in user space

github.com

31–40 of 58 posts

Re: Mouse scroll wheel acceleration, implemented in user space

#31

Looks like this is X based, wonder if it could be ported to Wayland.

In the README, I mentioned X11 because an earlier implementation was for X11.

However, this implementation now is platform independent. It uses pynput. It should work on all major desktop environments, like X11, Wayland, MacOS, Windows.

Re: Mouse scroll wheel acceleration, implemented in user space

#32
post #28
post #2

It was also implemented physically in some mouses for example, Logtiech G502: " Dual-Mode Hyper-Fast Scroll Wheel Unlock the scroll wheel for hyper-fast continuous scrolling to spin quickly through long pages, or lock it down for single click precision scrolling. The weighty, metal wheel delivers confident, smooth and satisfying control for either mode. " https://www.youtube.com/watch?v=aANF2OOVX40 ( Interstellar Mou…

I have one of those at my current job. I very much dislike it. Probably because I'm not used to it. Gnome, my DE, has all sorts of 'scroll on hover' tricks. Scroll while hovering an app icon, will "alt tab" between windows of that app. Scroll over the volume icon to up or down it. And so forth. At least once a day, all my windows get jumbled, or the volume set to 100, because the wheel was spinning while I moved my m…

Just have to get used to it. I hate using other mice after using free spring for years. I lock it maybe a few times a year for the occassional need of discrete scroll wheel steps.

Re: Mouse scroll wheel acceleration, implemented in user space

#33
post #18

Earlier quoted context omitted.

This is what I love about the MX Master 3, it's like a hybrid for this where it has precision scrolling when moving it slowly but give it a flick and it will automatically unlock and go into smooth scrolling. https://youtu.be/KTzZui0nrrs I wish this feature was on more mice

Yeah I’m addicted to it. I can't use any other mouse since trying the Mx Master 3 scroll wheel.

I switched to an Elecom huge trackball and miss that wheel every single day.

A year ago I figured out I could use a spare button to toggle using the trackball itself for free scroll, total game changer, but still miss that wheel.

Re: Mouse scroll wheel acceleration, implemented in user space

#34
post #2

It was also implemented physically in some mouses for example, Logtiech G502: " Dual-Mode Hyper-Fast Scroll Wheel Unlock the scroll wheel for hyper-fast continuous scrolling to spin quickly through long pages, or lock it down for single click precision scrolling. The weighty, metal wheel delivers confident, smooth and satisfying control for either mode. " https://www.youtube.com/watch?v=aANF2OOVX40 ( Interstellar Mou…

I wish there would be a setting that the mouse works normal when locked, but would scroll one pixel at a time when unlocked. It feels very unnatural to scroll with an unlocked mousewheel and not scroll when doing small adjustments.

Re: Mouse scroll wheel acceleration, implemented in user space

#35
Ages ago, in my own editor (and missing HP chipmunk physical "paddle wheel" scrolling), I implemented the following mouse scrolling scheme:

    - Integrate the area* enclosed by recent mouse movement
    - Ignore everything under a threshold (this is normal, straight-line, mousing)
    - Scroll according to the sign of the area.
        . naively this would be slow scroll for small circles; fast for large
        . but I found it more intuitive to reverse the action:
            the bigger the gesture, the more controlled the scroll
            (probably closer to scroll-by-radian than scroll-by-area)
It looks like I could use this package to do something similar, only system-wide and portably, but I mention it here as it's the sort of project I'm extremely unlikely to Get Around To (and would therefore be chuffed if someone else were to!)

* https://en.wikipedia.org/wiki/Planimeter

Re: Mouse scroll wheel acceleration, implemented in user space

#36
post #18

Earlier quoted context omitted.

This is what I love about the MX Master 3, it's like a hybrid for this where it has precision scrolling when moving it slowly but give it a flick and it will automatically unlock and go into smooth scrolling. https://youtu.be/KTzZui0nrrs I wish this feature was on more mice

MX Anywhere 3 also has this, the only ambidextrous option!

No. It's fake ambidextrous like most of Logitech's mice. It has buttons only usable by the right thumb and a subtle change in shape to accommodate them. The G903 is actually ambidextrous letting you customize whether you want buttons on the left or right side and still has the same sort of scroll wheel (although not automatic but I hate that feature anyways).

Re: Mouse scroll wheel acceleration, implemented in user space

#37
post #2

It was also implemented physically in some mouses for example, Logtiech G502: " Dual-Mode Hyper-Fast Scroll Wheel Unlock the scroll wheel for hyper-fast continuous scrolling to spin quickly through long pages, or lock it down for single click precision scrolling. The weighty, metal wheel delivers confident, smooth and satisfying control for either mode. " https://www.youtube.com/watch?v=aANF2OOVX40 ( Interstellar Mou…

Until you have an unlocked wheel, you don’t know what you’re missing out on. On the other hand, gestures in Firefox, specifically “Scroll to Bottom”, have made me miss mine less. Also, unlocked scroll wheels get you banned within seconds on Counter Strike servers for input lag.

My mouse (MX Master) has an unlockable wheel, and an auto-unlock feature. I have both disabled, precision scrolling is much better for my reading style, and it doesn't randomly trigger things.

Re: Mouse scroll wheel acceleration, implemented in user space

#38
post #18
post #2

It was also implemented physically in some mouses for example, Logtiech G502: " Dual-Mode Hyper-Fast Scroll Wheel Unlock the scroll wheel for hyper-fast continuous scrolling to spin quickly through long pages, or lock it down for single click precision scrolling. The weighty, metal wheel delivers confident, smooth and satisfying control for either mode. " https://www.youtube.com/watch?v=aANF2OOVX40 ( Interstellar Mou…

This is what I love about the MX Master 3, it's like a hybrid for this where it has precision scrolling when moving it slowly but give it a flick and it will automatically unlock and go into smooth scrolling. https://youtu.be/KTzZui0nrrs I wish this feature was on more mice

I find this feature annoying and am very unhappy when it randomly activates due to some driver bug (requiring me to open the Logitech software and possibly reboot the mouse).

Re: Mouse scroll wheel acceleration, implemented in user space

#39
The acceleration macOS has for boring old mice with boring old scroll wheels is atrocious. The first movement of the wheel barely scrolls things, and makes precise scrolling harder. I prefer the Windows behaviour of constant but usually larger (and configurable) distances.

Re: Mouse scroll wheel acceleration, implemented in user space

#40
post #28
post #2

It was also implemented physically in some mouses for example, Logtiech G502: " Dual-Mode Hyper-Fast Scroll Wheel Unlock the scroll wheel for hyper-fast continuous scrolling to spin quickly through long pages, or lock it down for single click precision scrolling. The weighty, metal wheel delivers confident, smooth and satisfying control for either mode. " https://www.youtube.com/watch?v=aANF2OOVX40 ( Interstellar Mou…

I have one of those at my current job. I very much dislike it. Probably because I'm not used to it. Gnome, my DE, has all sorts of 'scroll on hover' tricks. Scroll while hovering an app icon, will "alt tab" between windows of that app. Scroll over the volume icon to up or down it. And so forth. At least once a day, all my windows get jumbled, or the volume set to 100, because the wheel was spinning while I moved my m…

But that’s also a general Linux DEs issue. That windows take focus on hover, this has caused so many unintentional hotkey captures by other apps or as you say scroll capture
Post reply on HN