Re: CGEventKeyboardGetUnicodeString + modifier key
Re: CGEventKeyboardGetUnicodeString + modifier key
- Subject: Re: CGEventKeyboardGetUnicodeString + modifier key
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 15 Apr 2007 17:09:53 -0400
- Thread-topic: CGEventKeyboardGetUnicodeString + modifier key
on 2007-04-15 3:36 PM, email@hidden at email@hidden wrote:
>> My understanding is that you can do the "big messy lookup process"
>> yourself
>> with the UCKeyTranslate() function in Unicode Utilities. One of the
>> required
>> inputs is the type of your keyboard, so that you use the right
>> keyboard
>> resource for the lookup. You can get your keyboard type code with
>> CGEventSourceGetKeyboardType().
>
> UCKeyTranslate() seems to work fine for a single key, but what about
> a two-key operation, something like option-u u to produce ΓΌ?
I'm afraid I don't have a deep enough understanding to answer that.
--
Bill Cheeseman
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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