Converting HID keyboards usages to characters ?
Converting HID keyboards usages to characters ?
- Subject: Converting HID keyboards usages to characters ?
- From: Fred Leboucher <email@hidden>
- Date: Thu, 19 Jun 2008 10:32:48 +0200
Hi,
I'm trying to do something that was discussed before in the Carbon lists :
convert a HID keyboard usage to a unicode character, with the current modifier
keys applied, and using the system-wide selected keyboard layout.
This technical note from Apple
(http://developer.apple.com/technotes/tn2002/tn2056.html) details the file
formats available for keyboard layouts, but there's no information about the way
to:
- get info about the currently selected one
- a method to convert a key code to a unicode char (parsing the whole XML file
and doing the conversion by hand would be quite nasty, assuming that you even
know how to do the first step: know what layout is to be used)
Anyone knows how to do that ?
Thanks for your help
Fred
_______________________________________________
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