Skip to content

About

macOS menu bar app: classic scrolling for the mouse, natural scrolling for the trackpad. Switches the real system setting; never rewrites scroll events.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GoodScroll icon

GoodScroll

Classic scrolling for your mouse, natural scrolling for your trackpad.
Automatically, and without rewriting a single scroll event.

Download CI macOS 14 or later MIT license

Polski

Moving the mouse turns Natural scrolling off; touching the trackpad turns it back on.

Why

macOS has a single "Natural scrolling" switch, shared by the mouse and the trackpad. If you want the wheel to scroll the classic way and the trackpad to follow your fingers, you have to pick one and live with the other.

GoodScroll flips that switch for you, based on the device you reach for:

  • move the mouse (or click it, or roll the wheel) and scrolling becomes classic,
  • touch the trackpad and scrolling becomes natural again.

You always move the mouse before you scroll with it, and you always touch the trackpad before you swipe on it, so the setting is already right by the time the scroll starts.

How it differs from other tools

Approach Example Trade-off
Rewrite scroll events as they pass through Scroll Reverser, Mos, LinearMouse Right from the first event, but apps receive modified events; some apps and web pages react oddly to them
Flip the setting when a mouse is plugged in DynamicScrollDirection Events stay untouched, but the trackpad is reversed for as long as the mouse is connected
Flip the setting when you reach for a device GoodScroll Events stay untouched and both devices feel right; a rare first scroll can go the wrong way (see Limitations)

GoodScroll never installs an event tap. Apps see exactly what they would see if you had toggled the switch in System Settings yourself.

Install

  1. Download GoodScroll-<version>.dmg from Releases.
  2. Open it and drag GoodScroll to Applications.
  3. Launch GoodScroll from Applications. It lives in the menu bar and has no Dock icon.
  4. macOS asks for Input Monitoring. Allow it in System Settings › Privacy & Security › Input Monitoring. GoodScroll picks the permission up within a couple of seconds; if it doesn't, quit and reopen it.
  5. Open the menu and tick Launch at Login if you want it to start with your Mac.

The app is signed with a Developer ID and notarized by Apple, so it opens without Gatekeeper warnings. It is a universal binary and needs macOS 14 or later.

Note

The Input Monitoring prompt talks about "keystrokes" because that is how macOS describes the permission. GoodScroll opens pointing devices only and never reads the keyboard.

Using it

There is nothing to configure. The menu bar icon shows the current mode:

Icon Meaning
Mouse Classic scrolling; the mouse was used last
Hand Natural scrolling; the trackpad was used last
Pause Paused; GoodScroll leaves the setting alone
Warning triangle This macOS version lacks something GoodScroll needs; the menu says what

The menu has Pause / Resume, Launch at Login and Quit GoodScroll. If Input Monitoring is missing, the menu shows a line that takes you to the right pane in System Settings.

Natural scrolling is the resting state: GoodScroll puts the setting back to natural when you quit it, when you pause it, and when no mouse is connected.

Privacy

  • No network access. GoodScroll never connects to anything.
  • It does not read the keyboard. It opens pointing devices only.
  • It does not modify events. There is no event tap; apps receive exactly what the devices send.
  • It watches two things: whether an external mouse reported movement, a click or a wheel turn, and whether a finger landed on the trackpad. It stores none of it.

Limitations

  • First trackpad swipe right after the mouse. If you swipe within a split second of letting go of the mouse, the switch can lose the race with the start of the gesture, and that one swipe goes the wrong way.
  • Wheel without moving the mouse. If you touch the trackpad and then roll the wheel without moving the mouse at all, the first wheel tick can go the wrong way.
  • Magic Mouse is not supported. It is a mouse and a touch surface at once.
  • Private macOS APIs. There is no public API for changing the scroll direction live or for seeing trackpad touches, so GoodScroll uses private ones. It cannot go on the Mac App Store, and a macOS update could break it. If that happens it shows a warning in its menu instead of misbehaving.
  • Crashes. If GoodScroll is force-quit or crashes while in classic mode, the setting stays classic until you reopen it or change it in System Settings.

Status

This is an early release. The switching mechanism was exercised on macOS 26.3 on Apple Silicon with a Logitech MX Master 3 over Bluetooth. The Intel build is included but has not been run on an Intel Mac. Reports from other setups are welcome in Issues.

Uninstall

Quit GoodScroll from its menu and move it to the Trash. To also remove its permission entry:

tccutil reset ListenEvent io.github.johniak.GoodScroll

How it works

In short: IOHIDManager reports mouse activity, the private MultitouchSupport framework reports trackpad touches, and a private SkyLight call changes the scroll direction live. The details, including the exact order of calls and why each one is needed, are in docs/how-it-works.md.

Building from source

You need macOS 14 or later and Xcode 16 or later.

swift test                       # switching and device-classification logic
scripts/build-app.sh --install   # build, install to /Applications, launch
swift run GoodScroll --diagnose  # print what GoodScroll can see on this Mac; changes nothing

build-app.sh signs with a local development certificate when there is one, so the Input Monitoring grant survives rebuilds. Without one it signs ad hoc and macOS asks again after every build.

Making a release

GOODSCROLL_NOTARY_PROFILE=<profile> scripts/release.sh

This builds a universal app, signs it with your Developer ID certificate and the hardened runtime, notarizes and staples it, and wraps it in a notarized disk image at build/GoodScroll-<version>.dmg. <profile> is the name you gave to xcrun notarytool store-credentials.

Contributing

Issues and pull requests are welcome. The decision logic lives in Sources/GoodScrollCore and is covered by tests; please add a test with any change there. The system adapters in Sources/GoodScroll can only be checked by hand, so say in the pull request what you tried and on which hardware.

One thing is out of scope by design: rewriting or intercepting scroll events.

License

MIT

About

macOS menu bar app: classic scrolling for the mouse, natural scrolling for the trackpad. Switches the real system setting; never rewrites scroll events.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages