Re: NSEvent virtual keycodes
Re: NSEvent virtual keycodes
- Subject: Re: NSEvent virtual keycodes
- From: Jim Correia <email@hidden>
- Date: Mon, 18 May 2009 23:08:08 -0400
On Mon, May 18, 2009 at 10:44 PM, Christopher Hansen
<email@hidden> 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 (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