• 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: NSEvent virtual keycodes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSEvent virtual keycodes
      • From: Christopher Hansen <email@hidden>
References: 
 >NSEvent virtual keycodes (From: Christopher Hansen <email@hidden>)

  • Prev by Date: NSEvent virtual keycodes
  • Next by Date: Re: How to specify the file type to Audio file when dragging...?
  • Previous by thread: NSEvent virtual keycodes
  • Next by thread: Re: NSEvent virtual keycodes
  • Index(es):
    • Date
    • Thread