MultiTouchPad is a quark and class written by Batuhan Bozkurt which allows using multitouch enabled touchpads on current MacBook models. MTP is an update with some extensions by Alberto de Campo. Both are Singleton classes, so there are only class methods.
Tested with OSX Leopard (10.5) up to macOS High Sierra (10.13.6).
First code example:
start and stop tongsengmod program
get and set the actions for touch, untouch and set
reset all actions to nil
make or show a gui window to play with MTP
access the gui window (if it exists)
dictionary of functions to do when that key is pressed.
the default drawFunc used by MTPs userview.
kill all instances of tongsengmod
the userview used for MTP finger display
refresh guiWin
maximize guiWin so one can safely play without touching any other windows
minimize guiWin, to smallRect
bounds to use for minimizing - will be retained when set by rezising.
get general text to display on guiWin
get and set extra text to display on guiWin
get and set color to display fingers with
get and set size to display fingers with
dict of strings to diplay around each finger
(see MultiTouchPad)