There's a way to convert a character (@"A"
) to CGKeyCode (cocoa development)? I've already tried a lot of "solutions", but none worked.
I already implemented the keyCodeForKeyString
method, but it is really short and don't include all of the characters in a keyboard.