• 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
Create pinch/magnify event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Create pinch/magnify event
      • From: Raleigh Ledet <email@hidden>
  • Prev by Date: Re: NSImageView and ZoomFactors
  • Next by Date: Re: Cocoa-dev Digest, Vol 7, Issue 847
  • Previous by thread: Re: Cocoa-dev Digest, Vol 7, Issue 847
  • Next by thread: Re: Create pinch/magnify event
  • Index(es):
    • Date
    • Thread