Re: Checking if mouse event was generated by touch
Re: Checking if mouse event was generated by touch
- Subject: Re: Checking if mouse event was generated by touch
- From: Kyle Sluder <email@hidden>
- Date: Wed, 28 Nov 2012 08:39:29 -0800
On Nov 28, 2012, at 7:35 AM, Akhil Jindal <email@hidden> wrote:
> I want to check whether the mouse event received was generated through
> an actual mouse, or through a touch(possibly on an external direct
> touch display attached to the machine(like the Wacom Cintiq)).
>
>
>
> I can receive the touch events through the Wacom APIs and want to
> ignore the mouse event generated for the same action, by the OS.
See the documentation for -[NSEvent subtype] and NSTabletPointEventSubtype.
--Kyle Sluder
_______________________________________________
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