Reverses the direction of macOS scrolling, with independent settings for trackpads and mice.
Web home page: https://pilotmoon.com/scrollreverser/
Announcement: In a future update, Scroll Reverser will become a paid app. It will remain open source. You can read more about my decision here.
Download the latest release, unzip, and place Scroll Reverser.app
in your /Applications
folder. Double-click to run.
To uninstall, simply quit the app and drag Scroll Reverser.app
to trash.
Translation updates in your language are appreciated either by pull request or using CrowdIn platform.
Licensed under Apache License 2.0.
Please note, the name "Scroll Reverser" and the application icons are trademarks and may not be used by derivatve works.
After cloning this repo, you'll need to git submodule update --init
to check out the BuildScripts submodule.
The master branch targets 10.12 and higher.
Older code targeting 10.4+ is in the 'tiger' branch and 10.7+ is in the 'lion' branch.
The real guts of the code is in MouseTap.m. Everything else is just user interface rigging.
Scroll Reverser installs an event tap, which gives access to event stream, including scrolling events and gesture events. The main documentation is Quartz Event Services Reference.
To distinguish between trackpad and mouse, Scroll Reverser essentially looks at the gesture events to determine whether there are 2 or more fingers on the trackpad. If so, it assumes it is the trackpad. If not, mouse. It's a little more complicated than that as you will see, but that is the general idea.