noah-nuebling / mac-mouse-fix

Mac Mouse Fix - Make Your $10 Mouse Better Than an Apple Trackpad!
https://macmousefix.com/
Other
4.94k stars 140 forks source link

Mouse scrolling/direction conflicts with LinearMouse [bug] #223

Open CodeMason opened 2 years ago

CodeMason commented 2 years ago

Description

When “Mac Mouse Fix” is enabled, but “Smooth scrolling” and “Invert direction” are disabled, those controls will interfere with LinearMouse controls for “Reverse scrolling” and “linear scrolling”.

A Logitech “free scroll” mouse (which has no resistance when scrolling) does not benefit from MacMouseFix “smooth scrolling” — however the scrolling is still not linear, where one mouse scroll event correlates to “1 line” or “3 lines” of scrolling at a time. This is what LinearMouse accomplishes.

To recap:

MacMouseFix and LinearMouse are incompatible, EVEN when MacMouseFix has scroll controls disabled. LinearMouse is unable to be used while MacMouseFix is enabled, even if there are different parts of the mouse being controlled.

Desired outcome

Disabling MacMouseFix scrolling and direction will let LinearMouse control the scroll interval and direction.

Even better outcome

Add fixed scroll intervals (with zero acceleration) to MacMouseFix.

Link to LinearMouse: https://github.com/linearmouse/linearmouse

License compatibilities: MacMouseFix: MIT LinearMouse: MIT

Steps to reproduce

1) Install MacMouseFix v2.2 (https://github.com/noah-nuebling/mac-mouse-fix) and LinearMouse v0.3.3 (https://github.com/linearmouse/linearmouse)

2) Start both MMF and LM

3) Enable MMF via the preference page, DISABLE “smooth scrolling” and “Inverse direction”

4) Enable LM “Reverse Scrolling” and “linear scrolling”

5) Notice that the scroll is not inverted/reversed, and that there is scrolling acceleration

6) Disable MMF via it’s preferences page. Notice that the mouse is now inverted/reversed, and has zero acceleration.

7) Disable LM “Reverse scrolling” and “linear mouse”, and notice that the MacOS defaults are now in use (not inverted/reversed scrolling and scroll acceleration).

Context

Mac Mouse Fix Version: 2.2.0 macOS Version: 12.1 Mouse Model: Logitech G502 and Logitech MX Master 3

Additional Comments

CleanShot 2022-01-24 at 19 08 16

CleanShot 2022-01-24 at 19 09 06

niXta1 commented 2 years ago

This 👆🏼 All we need is to disable scroll acc + set scroll lines.

I'm not sure if Mac Mouse Fix is active? Another route would be to ask LinearMouse dev. to add features to be on pair. That repo was updated 5 days ago.

As for now, I'm using: https://github.com/iwa/discrete-scroll-arm/releases/tag/v0.1.1u Edit: Nevermind, not working either.