Reserved NSEvent keys
Reserved NSEvent keys
- Subject: Reserved NSEvent keys
- From: John Stiles <email@hidden>
- Date: Mon, 27 Dec 2004 13:55:30 -0800
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. */
enum {
NSUpArrowFunctionKey = 0xF700,
NSDownArrowFunctionKey = 0xF701,
NSLeftArrowFunctionKey = 0xF702,
NSRightArrowFunctionKey = 0xF703,
(etc.)
This should correspond to the Unicode private-use area--so far so good.
But when I look at unicode.org or in the Mac's Character Palette,
0xF700 seems to correspond to some very common characters (Hiragana and
Katakana, and some small-caps characters, etc.).
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? It seems safe, if OpenStep/Cocoa can get away with it.
Anyway, the Hiragana are supposed to be in the 3000 range (see 0x3041).
_______________________________________________
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