Trying to capture raw touch events on the trackpad
Trying to capture raw touch events on the trackpad
- Subject: Trying to capture raw touch events on the trackpad
- From: Akhil Jindal <email@hidden>
- Date: Fri, 27 Jul 2012 17:55:23 +0530
Hi all,
I'm trying to capture raw touch events on the trackpad to define my own
gesture events. I've gone through the documentation here:
http://developer.apple.com/library/mac/#documentation/cocoa/conceptual/EventOverview/HandlingTouchEvents/HandlingTouchEvents.html
I've set [mView setAcceptsTouchEvents:YES] and implemented the following
functions:
- (void)touchesBeganWithEvent:(NSEvent *)event;
- (void)touchesMovedWithEvent:(NSEvent *)event;
- (void)touchesEndedWithEvent:(NSEvent *)event;
- (void)touchesCancelledWithEvent:(NSEvent *)event;
but *I'm just not getting any calls in any of the above functions*. I keep
getting calls in mouseMoved, mouseEntered, but not any touch messages.
Am I missing something?
Kindly help.
Regards,
Akhil Jindal
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden