Skip to content

 "Wheel click" with three-finger click/tap for Trackpad and Magic Mouse.

License

Notifications You must be signed in to change notification settings

artginzburg/MiddleClick-Sonoma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiddleClick

Emulate a scroll wheel click with three finger Click or Tap on MacBook trackpad and Magic Mouse

with macOS Sonoma14 support!


🔍 Usage

It's more than just +click

System-wide · close tabs by middleclicking on them

In Safari · middleclicking on a link opens it in background

In Terminal · paste selected text


Install

Via 🍺 Homebrew Cask (Recommended)

brew install --cask --no-quarantine middleclick

Check out the cask if you're interested

Direct Download

Latest Release  ·  GitHub release

Additionally, you may also view Earlier Releases


Hide Status Bar Item

  1. Holding , drag it away from the status bar until you see a ✖️ (cross icon)
  2. Let it go

To recover the item, just open MiddleClick when it's already running

Add Login Item

Make it open automatically when you log in

Just add MiddleClick to your "Login Items".

(it's handy to be done using command line)

osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/MiddleClick.app", hidden:true}'

Preferences

Number of Fingers

  • Want to use 4, 5 or 2 fingers for middleclicking? No trouble. Even 10 is possible.
defaults write com.rouge41.middleClick fingers 4

Default is 3

Tapping preferences

Max Distance Delta

  • The maximum distance the cursor can travel between touch and release for a tap to be considered valid.
  • The position is normalized and values go from 0 to 1.
defaults write com.rouge41.middleClick maxDistanceDelta 0.03

Default is 0.05

Max Time Delta

  • The maximum interval in milliseconds between touch and release for a tap to be considered valid.
defaults write com.rouge41.middleClick maxTimeDelta 150

Default is 300


This fork differs from the base fork in some ways
  • Configurations: Number of Fingers, Click or Tap
    • preferred setting is saved for every user
  • Removed old 32-bit/PowerPc relaunch binary due to it's incompatibility with macOS 10.15 Catalina and greater. Replaced with inline restarting of the app
  • The App will not only restart on waking the Mac, but when a new touch device is added (so it immediately gains middleclicking ability) and when a display is added/reconfigured (for proper click positioning)

Attention! Make sure to:

  1. Quit an old version of MiddleClick
  2. Remove it from the privacy settings
  3. Enable the new version in privacy settings when prompted

The app should be closed when you change the privacy settings, otherwise the Mouse may not be clickable and you may have to killall MiddleClick via terminal or even force restart the Mac.

Credits

This project was made by Clément Beffa,

Extended by LoPablo

and artginzburg (it's me)

About

 "Wheel click" with three-finger click/tap for Trackpad and Magic Mouse.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages

  • Objective-C 96.4%
  • C 2.4%
  • Shell 1.2%