The NSEvent::charactersIgnoringModifiers method ignores modifiers except for shift, which is unfortunate because it produces eg: `!` instead of `1`. This commit adds a mapping from the underlying `keyCode` to the corresponding letter position.
The NSEvent::charactersIgnoringModifiers method ignores modifiers except for shift, which is unfortunate because it produces eg: `!` instead of `1`. This commit adds a mapping from the underlying `keyCode` to the corresponding letter position.