On 27 Oct 2008, at 9:44 am, Pierce Freeman wrote:

Hi everyone.

I am currently looking into if there is some way to get input from a
styluses using Cocoa. I have seen that there is a fair bit of information
using Carbon but so far I haven't seen any that cover Cocoa.

In addition I am looking to get user input based on the track pad. For example, if the application sees the scrolling gesture in the application it will do something besides scrolling. I am not sure if this part is locked up on the system level, as I could see some uses coming out of this. If
someone could steer me in the right direction for one/both of these
problems, it would be great.


Pierce F.


NSEvent contains information about pen (stylus) events including pressure.

I think TrackPad gestures are automatically converted to the equivalent scroll wheel events, though some of the newest ones like the four-finger salute may require an enhancement to NSEvent that hasn't been put into the public APIs yet. (I'm only guessing, so may be way off).

--Graham
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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