Detect Keyboard Layout for CGKeyCodes
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