Track Pad "Pinch" Mouse Gestures

Hi everyone,

I have been looking around the forums and haven’t found much on classes to allow for OS X track pad pinch and reverse pinch gestures for zooming. Has anyone written declares for this?

Thank you very much in advance.

I have a class that I wrote for ios originally. I just converted it for OSX… It has pinch-to-zoom, rotate and pan gestures. Essentially it’s a canvas that fires events for the gestures and can track itself or it’s parent (the window or another canvas).
I’ll see if I can get it posted for you…
It requires 10.10, otherwise you’d need to subclass nsview and add the subclass to the view hierarchy. I also have that lying around somewhere.

Jim thank you buddy that would be outstanding!

Is there anything like this for Windows?

There’s now an xDev article on how to add macOS Gestures, sorry I don’t know about Windows.