• 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
Converting HID keyboards usages to characters ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Converting HID keyboards usages to characters ?
      • From: Bill Cheeseman <email@hidden>
    • Re: Converting HID keyboards usages to characters ?
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: NSPredicateEditor and decimal numbers with fractions
  • Next by Date: #import importing twice?
  • Previous by thread: NSPredicateEditor and decimal numbers with fractions
  • Next by thread: Re: Converting HID keyboards usages to characters ?
  • Index(es):
    • Date
    • Thread