• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting Styluses/Track Pad Input in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Styluses/Track Pad Input in Cocoa


  • Subject: Re: Getting Styluses/Track Pad Input in Cocoa
  • From: Graham Cox <email@hidden>
  • Date: Mon, 27 Oct 2008 09:58:25 +1100


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 (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


References: 
 >Getting Styluses/Track Pad Input in Cocoa (From: Pierce Freeman <email@hidden>)

  • Prev by Date: Re: Getting Styluses/Track Pad Input in Cocoa
  • Next by Date: Re: Getting Styluses/Track Pad Input in Cocoa
  • Previous by thread: Re: Getting Styluses/Track Pad Input in Cocoa
  • Next by thread: Re: Getting Styluses/Track Pad Input in Cocoa
  • Index(es):
    • Date
    • Thread