On Mon, May 18, 2009 at 10:44 PM, Christopher Hansen
<christopher.han...@yahoo.com> wrote:

> The NSEvent Reference documentation for the keyCode method states that "the
> value returned is the same value returned in the kEventParamKeyCode when using
> Carbon Events."
>
> Are the virtual key codes available in a Cocoa-based header?  The only virtual
> keycode definitions I've been able to find are in Carbon/HIToolbox/Events.h.

That is the only place they are currently defined.

Including that header will not give your code cooties. That's
currently the correct place to pick up the constants from.

Jim
_______________________________________________

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 arch...@mail-archive.com

Reply via email to