On Mar 4, 2014, at 13:51:31, Eric Schlegel <eri...@apple.com> wrote:

> A little architectural background first: normally, when a keyboard event 
> first arrives in the HIToolbox event queue from the window server, the 
> initial contents are just as you saw - a keycode and key modifiers, but no 
> unicode values. The unicode text doesn’t get added until later when the key 
> event is put into the event queue and the Text Services Manager takes a look 
> at it and processes the key event through the active input method. 
> 
> In this case, if the NSEvent needs to cons up an EventRef from its own data, 
> it probably just creates a kEventRawKeyDown with keycode but nothing else. No 
> unicode text is added because the event isn’t seen by TSM.

Huh, weird. Too bad the docs don't say anything about this peculiarity. Guess 
I'll just look at the key code.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to