Scroll-Reverser

Reverse the direction of scrolling on macOS.

  • Owner: pilotmoon/Scroll-Reverser
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Scroll Reverser

Reverse the direction of scrolling on macOS.

Home page: http://pilotmoon.com/scrollreverser/

License

Licensed under Apache License 2.0.

Notes on the code

The 'master' branch build targets 10.7 and higher.

Older code targeting 10.4+ is in the 'tiger' 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.

Main metrics

Overview
Name With Ownerpilotmoon/Scroll-Reverser
Primary LanguageObjective-C
Program languageObjective-C (Language Count: 4)
Platform
License:Apache License 2.0
所有者活动
Created At2011-10-26 19:05:55
Pushed At2024-06-21 08:36:10
Last Commit At2024-06-20 10:17:48
Release Count104
Last Release Namev1.9 (Posted on 2024-06-21 08:24:00)
First Release Name1.0 (Posted on 2011-03-08 17:36:28)
用户参与
Stargazers Count3k
Watchers Count22
Fork Count143
Commits Count530
Has Issues Enabled
Issues Count127
Issue Open Count46
Pull Requests Count14
Pull Requests Open Count0
Pull Requests Close Count22
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private