• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Create pinch/magnify event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Create pinch/magnify event (From: Joe Turner <email@hidden>)

  • Prev by Date: Re: Set the Cursor Position
  • Next by Date: Re: Core Data and REST
  • Previous by thread: Create pinch/magnify event
  • Next by thread: Best strategy for blending many corevideo frames in opengl.
  • Index(es):
    • Date
    • Thread