• 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: Request NSEventTypeFourFingerSwipe
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request NSEventTypeFourFingerSwipe


  • Subject: Re: Request NSEventTypeFourFingerSwipe
  • From: Raleigh Ledet <email@hidden>
  • Date: Thu, 8 Oct 2009 13:18:43 -0700


On Oct 6, 2009, at 8:39 AM, Andreas Hegenberg wrote:

Hi!

In NSEvent.h those multitouch masks are defined:

NSEventMaskGesture          = 1 << NSEventTypeGesture,
NSEventMaskMagnify          = 1 << NSEventTypeMagnify,
NSEventMaskSwipe            = 1U << NSEventTypeSwipe,
NSEventMaskRotate           = 1 << v,
NSEventMaskBeginGesture     = 1 << NSEventTypeBeginGesture,
NSEventMaskEndGesture       = 1 << NSEventTypeEndGesture,

Is there a way to recognize a four finger swipe?

The only thing you can do is listen to the raw touches and figure it out yourself. Though, you will need to turn off the four finger swipe behavior from teh trackpad system preference pane.


Have you filed a radar with a use case on why you want to override the system behavior?

-raleigh


ATM if I listen for
gestures, and try to do a four finger swipe it is recognized as a
NSEventTypeMagnify (with magnification 0)

(Apologize every mistake I made when posting this,  I've never used a
mailing list before)

Cheers,
Andreas
_______________________________________________

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


  • Follow-Ups:
    • Re: Request NSEventTypeFourFingerSwipe
      • From: Andreas Hegenberg <email@hidden>
References: 
 >Request NSEventTypeFourFingerSwipe (From: Andreas Hegenberg <email@hidden>)

  • Prev by Date: [MEET] Reminder : LA CocoaHeads TONIGHT 7:30pm
  • Next by Date: Re: NSWorkspaceDidMountNotification not firing on Snow Leopard
  • Previous by thread: Request NSEventTypeFourFingerSwipe
  • Next by thread: Re: Request NSEventTypeFourFingerSwipe
  • Index(es):
    • Date
    • Thread