Live data from Hacker News

Mouse scroll wheel acceleration, implemented in user space

github.com

41–50 of 58 posts

Re: Mouse scroll wheel acceleration, implemented in user space

#41

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…

Both Synaptics and ELAN drivers offered circular/chiral scrolling, but it seems this option is not prominently featured (or maybe unavailable) in Windows 10 and above.

IIRC the gesture starts at the edge of the trackpad much like regular edge scrolling, but then you can extend the motion to the entire working area of the trackpad, pretending to spin an imaginary jog wheel.

Re: Mouse scroll wheel acceleration, implemented in user space

#42

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.

Ah yes, the monday morning little ritual: try to move down a dozen lines, maybe half a page, scroll a bit and realized I moved 3 pixels. Try again scrolling a bit faster and end up zooming by 3 pages. Repeat in the other direction. Use the scroll bar out of desperation after 3 failed attempts.

Gets a bit better once the coffee and the muscle memory kick in, but I really wish Apple would give some love to common old-fashioned rodents instead of letting their users having to rely on community-made apps to have a decent behavior for those. I'm probably not the only one using a laptop provided by an employer with fairly strict rules about the installation of "unnecessary" software.

Re: Mouse scroll wheel acceleration, implemented in user space

#43

I always struggle with the exact opposite problem. Mouse wheel acceleration feels incredibly unnatural to me and I can't turn it off on macOS.

I used to use Steelseries Exactmouse, but now we have https://github.com/linearmouse/linearmouse

After the last major update linear mouse is stuck for me in a kind of an infinite loop. It asks for accessibility permissions, while they are already enabled. I tried everything including reinstalling but it doesn’t work :(

Re: Mouse scroll wheel acceleration, implemented in user space

#44
post #28

Earlier quoted context omitted.

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

There are lots of options (in KDE at least), it's not like you have to have focus on hover, you can have focus-on- click, and IIRC set dwell times before focus kicks in.

Re: Mouse scroll wheel acceleration, implemented in user space

#45
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 wish this feature was on more mice

Logitech owns a patent[0] on this mechanism which prevents it from being incorporated in other products (without licensing it).

[0] https://patents.google.com/patent/US20110227828A1/en

> The present invention generally relates to a control device, such as a mouse, and more particularly relates to multi-mode roller for a control device having a selectable smooth-roller mode and a ratchet-roller mode.

Re: Mouse scroll wheel acceleration, implemented in user space

#46
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…

The G502 is a phenomenal mouse

On Win 10 ours randomly changes dpi. The multi-user setup is abysmal; one user can screw up another's settings. It spams notifications when you cause a quick-change-dpi event (you can turn off notifications, it's a weird default). It works very badly without the app running, ie it's a soft-mouse tailored to Windows. There's no Logitech Linux app (though the one I use is superior to the Windows app, IMO, clearer with less cruft -- https://github.com/libratbag/piper). Latest update reverted my dpi settings.

I'm not particularly impressed.

Re: Mouse scroll wheel acceleration, implemented in user space

#47

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.

Ah yes, the monday morning little ritual: try to move down a dozen lines, maybe half a page, scroll a bit and realized I moved 3 pixels. Try again scrolling a bit faster and end up zooming by 3 pages. Repeat in the other direction. Use the scroll bar out of desperation after 3 failed attempts. Gets a bit better once the coffee and the muscle memory kick in, but I really wish Apple would give some love to common old-f…

I'm a first time MacOS user thanks to issued equipment. Three months in and I hate it. Scroll acceleration is definitely in the top five list of reasons why.

The goofy keyboard shortcuts, the crummy window switching (switching between applications is different than switching between instances of an application), and wretched window management (inconsistent behavior around maximizing windows-typically bad-and no half or quarter screen snapping) are also on the list.

I'd be much happier with a Linux or Windows machine.

Re: Mouse scroll wheel acceleration, implemented in user space

#48

Earlier quoted context omitted.

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).

I click forward/back with my ring finger, but I guess it depends on your grip how achievable that is.

Re: Mouse scroll wheel acceleration, implemented in user space

#49
post #47

Earlier quoted context omitted.

Ah yes, the monday morning little ritual: try to move down a dozen lines, maybe half a page, scroll a bit and realized I moved 3 pixels. Try again scrolling a bit faster and end up zooming by 3 pages. Repeat in the other direction. Use the scroll bar out of desperation after 3 failed attempts. Gets a bit better once the coffee and the muscle memory kick in, but I really wish Apple would give some love to common old-f…

I'm a first time MacOS user thanks to issued equipment. Three months in and I hate it. Scroll acceleration is definitely in the top five list of reasons why. The goofy keyboard shortcuts, the crummy window switching (switching between applications is different than switching between instances of an application), and wretched window management (inconsistent behavior around maximizing windows-typically bad-and no half…

I’d recommend grabbing BetterSnapTool for window snapping. https://folivora.ai/bettersnaptool

Re: Mouse scroll wheel acceleration, implemented in user space

#50
post #47

Earlier quoted context omitted.

Ah yes, the monday morning little ritual: try to move down a dozen lines, maybe half a page, scroll a bit and realized I moved 3 pixels. Try again scrolling a bit faster and end up zooming by 3 pages. Repeat in the other direction. Use the scroll bar out of desperation after 3 failed attempts. Gets a bit better once the coffee and the muscle memory kick in, but I really wish Apple would give some love to common old-f…

I'm a first time MacOS user thanks to issued equipment. Three months in and I hate it. Scroll acceleration is definitely in the top five list of reasons why. The goofy keyboard shortcuts, the crummy window switching (switching between applications is different than switching between instances of an application), and wretched window management (inconsistent behavior around maximizing windows-typically bad-and no half…

Contexts.app (paid software) restores window/Linux alt1tab behavior.

Rectangle.app (OSS) does window snapping and does tiling-lite (which is what I want). I forget the name of the actually tiling WM.

Hammerspoon+custom script off github will get you drag move/resize functionality.

Post reply on HN