ControllerMate (part 14 of 14): Mouse Reloaded.
Note: this is not a substitute for the original and most excellent ControllerMate tutorial. I am endeavoring to save some time for those who have read it and now are eager to get things done.
Important: I strongly recommend that for the duration of this adventure you find and connect an extra mouse to your Mac – that way even if you mis-configure your target device you will still have full control.
End of the line!
I cannot think of anything else to improve, so here is the final design:
1) I wanted to improve the single clicking for button #2, incorporating the latest algorithm.
2) I found any delay on button #1 annoying, and so I streamlined things a bit, at the price of a bit of convenience: when Button #1 is pressed, it registers as a press even if you intend to use it as a modifier. Works fine for me – I have not destroyed any files by mistake yet.
In the real world instead of funny sounds I initiate applescripts and simulate key presses. For example, Sosumi sound is replaced with a left button click on my virtual mouse.
Thank you for reading. Have fun!