Mailing List
Home
Forum Home
MUD Dev - Discussion of MUD system design, development, and implementation
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Flash Racing
MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Key Naming 2.0

Key Naming 2.0

2004-12-15       - By Jens Ayton

 Back
As has been mentioned in the "Storing keybindings" thread, mapping a
virtual key code to a display string can be quite hairy.

Several years ago I wrote a library to do that, and it worked, and it
was even used in a major game. But it used KeyTranslate() and didn't
handle Unicode layouts.

Since then, its grown to extreme levels of complications, and I've been
planning to get around to properly documenting and releasing it.

Now I've cut it down to a simpler subset:
http://web.comhem.se/~u13606823/keynaming2.dmg

Given one or more virtual key codes, it will build a suitable CFString.
It handles script-based (KCHR) layouts and Unicode (uchr) layouts.
Strangeness like remapping keypad numbers or function keys supported. I
believe it handles all special keys found on Apple keyboards. Slicing
and dicing optional. Not tested with versions of Mac OS prior to 10.2.


--
Jens Ayton

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Do not post admin requests to the list. They will be ignored.
Mac-games-dev mailing list      (Mac-games-dev@(protected))
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-games-dev/junlu%405341.com

This email sent to junlu@(protected)

Earn $52 per hosting referral at Lunarpages.