On Apr 2, 2010, at 08:30, Jens Alfke wrote:
> I would have said GetKeys(), but it seems to have been deprecated and removed
> in the eyeblink [read: decade] since I last used Carbon. There must be some
> modern equivalent for reading the current state of the keyboard?
For completeness:
The non-deprecated-but-hard-to-find-documentation-for status of GetKeys () was
discussed fairly recently in this thread:
http://www.cocoabuilder.com/archive/cocoa/281840-high-level-toolkit-is-it-obsolete-or-not.html
The "modern" (Snow Leopard) equivalent for finding the state of the Option key
would be +[NSEvent modifierFlags].
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]