Mac Trackpad Plugin
This plugin allows you to handle multitouch events on the mac trackpad.
Limitations:
Only works on MacOSFunctions:
macTrackpad.init(listener)
listener(function)(required) returns following events
event.phase(string) returns "began","moved", "ended"(note multiple event.phase maybe returned)
event.type(string) returns "pressure", "magnify", or "rotation"
event.pressue(number) returns number between 0-1(only returned on event.type "pressure")
event.rotation(number) returns degree of rotation(only returned on event.type "rotation")
event.magnification(number) returns number between 0-1(only returned on event.type "magnify")