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

Re: Reserved NSEvent keys


  • Subject: Re: Reserved NSEvent keys
  • From: Ken Ferry <email@hidden>
  • Date: Mon, 27 Dec 2004 19:16:24 -0500

On Mon, 27 Dec 2004 18:03:55 -0500, Clark Cox <email@hidden> wrote:
> On Mon, 27 Dec 2004 13:55:30 -0800, John Stiles <email@hidden> wrote:
> > Looking in NSEvent.h, I see the following:
> >
> > /* Unicodes we reserve for function keys on the keyboard,  OpenStep
> > reserves the range 0xF700-0xF8FF for this purpose.  The availability of
> > various keys will be system dependent. */
> >
> > [snip]
> >
> > My main concern is that I wanted to hijack a few extra values (i.e. in
> > the 0xF6xx range) for my application to pass around. Will I run into
> > any problems?
>
> If it's just within your own program/programs, you're perfectly safe,
> as that's exactly what the Private Use Area is for ... private use :)
> Just don't pass them to other applications and expect consistent
> treatment.

Well, since we do interact with the frameworks, you'd want to be sure
that you aren't grabbing characters that Apple also uses.  The
NSEvent.h comment isn't entirely clear since Apple might use
characters for some purpose other than function keys.

..but you're safe.  The docs on Apple's use of the private area are at
<http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/CORPCHAR.TXT>

-Ken
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Reserved NSEvent keys (From: John Stiles <email@hidden>)
 >Re: Reserved NSEvent keys (From: Clark Cox <email@hidden>)

  • Prev by Date: Re: NSApplicationSupportFolder
  • Next by Date: Subclassing NSWindowController for multi-window NSDocument?
  • Previous by thread: Re: Reserved NSEvent keys
  • Next by thread: Subclassing NSWindowController for multi-window NSDocument?
  • Index(es):
    • Date
    • Thread