Hi
I'd like to get the finger's position when user makes a gesture on the trackpad.
I've already hooked on to swipeWithEvent that triggers on swipe. Within that NSEvent there's a method deltaX that reports the change of the movement. There's also absoluteX method that looks promising, but I can't get it to return anything but the following assertion failure:
Invalid message sent to event "NSEvent: type=Swipe loc=(394,335) time=3893.8 flags=0x100 win=0x10022fdc0 winNum=586 ctxt=0x0 deltaX=-1.000000 deltaY=0.000000"
The 'loc' value the in the error message changes a bit over time, but to my understanding it's not the right value because the change is too small.
So, how can I properly use NSEvent's absoluteX on a trackpad?