Are there Mac Terminal commands to assign keystrokes to mouse clicks?
The aim here is simple. I have a generic three-button mouse for which there's no customizing driver available, and I want it to do this:
- rightclick = command+leftclick (replacing control+leftclick) - wheelclickdown = close-window (cmd-w)
A mouse on another Mac I use does this with its driver, and I could get that one for this machine, but I've found a mouse that feels just right in my hand and I'd like to use it -- if I can create those key assignments.
Or is there some other way to do this? There are third-party generic drivers that do it, but for minimalist purposes I would like to do it with the Mac itself. This seems such a simple basic thing.