Re: Request NSEventTypeFourFingerSwipe
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