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

 
 

Repository files navigation

MiddleClick

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

with macOS Sequoia15 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 the background as a new tab

In Terminal · paste selected text


Install

Via 🍺 Homebrew (Recommended)

brew install --cask --no-quarantine middleclick

Check out the cask if you're interested


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

Preferences

Number of Fingers

  • Want to use 4, 5 or 2 fingers for middleclicking? No trouble. Even 10 is possible.
defaults write art.ginzburg.MiddleClick fingers 4

Default is 3

Allow to click with more than the defined number of fingers.

  • This is useful if your second hand accidentally touches the touchpad.
  • Unfortunately, this does not serve as a palm rejection technique for huge touchpads.
defaults write art.ginzburg.MiddleClick allowMoreFingers true

Default is false, so that the number of fingers is precise

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 art.ginzburg.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 art.ginzburg.MiddleClick maxTimeDelta 150

Default is 300

Building from source

  1. Clone the repo
  2. Run make
  3. You'll get a MiddleClick.app in ./build/

Credits

Created by Clément Beffa,
fixed by Alex Galonsky and Carlos E. Hernandez,
revived by Pascâl Hartmann,
maintained by Arthur Ginzburg

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages

  • Swift 93.7%
  • C 5.0%
  • Makefile 1.3%