Re: Create pinch/magnify event
Re: Create pinch/magnify event
- Subject: Re: Create pinch/magnify event
- From: Raleigh Ledet <email@hidden>
- Date: Sun, 29 Aug 2010 19:54:20 -0700
You can not simulate these gestures. Please file a radar.
-raleigh
On Aug 20, 2010, at 1:42 PM, Joe Turner wrote:
> 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
_______________________________________________
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