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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/ledet%40apple.com

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to