Not maintained anymore, check out the fork https://github.com/DaFuqtor/MiddleClick-Catalina
Emulate a middleclick with triple tap on MacBook trackpad and Magic Mouse. Use private osx api for using the macbook multitouch trackpad code and some middleclick code.