On Jan 25, 2012, at 5:03 AM, Akhil Jindal wrote:

> On Wed, Jan 25, 2012 at 1:24 PM, Ken Thomases <[email protected]> wrote:
> 
>> What are you passing in for the modifiers?  I would expect that passing in 
>> cmdKeyBit would result in UCKeyTranslate returning latin characters.
> 
> I'm not passing in any modifiers. I've initialised inModifiers as 0.
> I tried passing in cmdKeyBit as the modifier but with that UCKeyTranslate() 
> is returning actualLength as 0 on pressing Cmd+N on US IME itself.

Oops, sorry.  I should have said "cmdKey" instead of "cmdKeyBit", and I should 
have also said it needs to be right-shifted by 8 bits.  So, try passing cmdKey 
>> 8.

Cheers,
Ken


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to