gestures OSX

I am looking to get gestures from a touch screen or even trackpad on OSX. I know there is some internal implementation- I had a search and found some info on the native apple objective c calls

NSEventTypeGesture = 29,
NSEventTypeMagnify = 30,
NSEventTypeSwipe = 31,
NSEventTypeRotate = 18,
NSEventTypeBeginGesture = 19,
NSEventTypeEndGesture = 20

Has anyone implemented these before in OF?

1 Like

Not sure about the specifics, but you will probably have to create a cocoa window, so that you can get the events from it.
There are a few implementations for OF. Here is one