mirror of
https://github.com/godotengine/godot.git
synced 2025-01-10 03:51:21 +00:00
Create the test string to detect kb layouts directly from the unicode chars
This commit is contained in:
parent
d046bd88ad
commit
08cfad00dd
@ -1297,9 +1297,7 @@ static NSString *createStringForKeys(const CGKeyCode *keyCode, int length) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
CFStringRef chararter = CFStringCreateWithCharacters(kCFAllocatorDefault, chars, 1);
|
||||
CFStringAppend(output, chararter);
|
||||
CFRelease(chararter);
|
||||
CFStringAppendCharacters(output, chars, 1);
|
||||
}
|
||||
|
||||
//CFStringUppercase(output, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user