Get unmodified character for key matching
Get unmodified character for key matching
- Subject: Get unmodified character for key matching
- From: "Mills, Steve" <email@hidden>
- Date: Thu, 27 Mar 2014 17:51:25 +0000
- Thread-topic: Get unmodified character for key matching
If I type command-shift-/, the OS sends '?' instead of '-' in the NSEvent's characters and charactersIgnoringModifiers properties when using an English keyboard. If using a German keyboard, typing command-shift-- will result in the NSEvent sending us '_' instead of '-'. How can I map the modified version of a character back to its unmodified character and have it be correct for keyboards of all languages?
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
_______________________________________________
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