A library to convert Mac virtual key codes and/or USB HID keyboard usages into display strings, taking the current keyboard layout into account.
C Objective-C Other
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead, 3 commits behind JensAyton:master.
Latest commit 91db2ca Dec 6, 2011 @wiml API adjustments for 10.5+.
Use TIS if available; weak-link and #ifdef guards for each API.

README

Like UCKeyTranslate(), but much less scary. 

The KeyNaming library converts virtual key codes (as provided by the various event systems) or HID usages codes (as provided by IOKit’s HID interface) to descriptive strings reflecting the current keyboard layout.