Re: Capturing the stylus (ink input) in cocoa
Re: Capturing the stylus (ink input) in cocoa
- Subject: Re: Capturing the stylus (ink input) in cocoa
- From: Andre <email@hidden>
- Date: Thu, 17 Nov 2005 09:52:56 -0800
Yep, I think in order to "capture" the stylus then, I just need to
subclass those methods in NSApplication or perhaps NSWIndow since it
is an NSResponder subclass.
It seems cocoa makes this pretty easy after all.
Thanks
Andre
Scott Anguish wrote:
NSResponder also as some additional Tablet functionality in Tiger.
– tabletPoint:
Informs the receiver that tablet-point event theEvent has occurred.
– tabletProximity:
Informs the receiver that the tablet-proximity event theEvent has
occurred.
– shouldBeTreatedAsInkEvent:
Returns YES if theEvent should be treated as an ink event, NO if
theEvent should be treated as a mouse event.
On Nov 17, 2005, at 3:04 AM, email@hidden wrote:
On 平成 17/11/16, at 15:50, Scott Stevenson wrote:
On Nov 16, 2005, at 3:32 PM, email@hidden wrote:
So the problem is, how do I distinguish the pen from the mouse?
And how do I make sure that my view, captures all the ink data
so that
the mouse cursor doesn't move when the pen does?
Is this possible in Cocoa? There doesn't seem to be much
documentation for cocoa...
Tiger added quite a bit of functionality related to pen input in
NSEvent.h. Take a look there first and see if you can find what
you need.
Thanks, I'll take a look, it seems it has added a lot of what I need.
--
"William Cheeseman ... is said not to be a doofus in real life." -
Roger Ebert, Chicago Sun-Times Online
Scott Anguish
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden