Create pinch/magnify event
Create pinch/magnify event
- Subject: Create pinch/magnify event
- From: Joe Turner <email@hidden>
- Date: Fri, 20 Aug 2010 14:42:41 -0600
Hey,
I'm trying to use CGEvent to create a pinch/magnify event, but I can't find any info on how to do it. I see there's a NSEventTypeMagnify for NSEvent, but the magnification factor does not seem settable. Even if it was, weird things happen when you try to convert an NSEvent to a CGEvent. So, I'm wondering if anyone has experience with doing this? What about for 4 finger swipes?
If not, is there a way to create raw trackpad touches (pragmatically), so I can recreate a pinch?
Thanks!
Joe
_______________________________________________
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