• 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
Detect Keyboard Layout for CGKeyCodes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detect Keyboard Layout for CGKeyCodes


  • Subject: Detect Keyboard Layout for CGKeyCodes
  • From: Joe Turner <email@hidden>
  • Date: Wed, 19 Aug 2009 12:40:27 -0500

Hey,

I've got an application that basically simulates a keyboard using CGEvents with CGKeyCodes. However, because CGKeyCodes only map the position of the key on a keyboard, and not the actual key, I've run into some issues. Is there an easy way to detect the type of keyboard they have, and convert a CGKeyCode from a standard US keyboard to whatever keyboard they have?

Any help would be much appreciated! :)

Joe
_______________________________________________

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: Detect Keyboard Layout for CGKeyCodes
      • From: Harry Jordan <email@hidden>
  • Prev by Date: Re: Over Riding Print Function in Cocoa PDE Plugin
  • Next by Date: Re: NSTableView empty selection not working
  • Previous by thread: Re: Starting editing for a Row as soon as it is Added. (More Detail)
  • Next by thread: Re: Detect Keyboard Layout for CGKeyCodes
  • Index(es):
    • Date
    • Thread