mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 21:42:32 +00:00
fixed issue perventing any key press from being correctly mapped
This commit is contained in:
@@ -84,7 +84,8 @@ uint16_t const kMPUnknownKeyCode = UINT16_MAX;
|
||||
tempCharToCodeDict[string] = @(keyCode);
|
||||
}
|
||||
}
|
||||
keyboardCodeDictionary[localizedName] = [[NSDictionary alloc] initWithDictionary:tempCharToCodeDict];
|
||||
charToCodeDict = [[NSDictionary alloc] initWithDictionary:tempCharToCodeDict];
|
||||
keyboardCodeDictionary[localizedName] = charToCodeDict;
|
||||
}
|
||||
NSString *singleCharacter = [character substringToIndex:1].lowercaseString;
|
||||
if(charToCodeDict[singleCharacter]) {
|
||||
|
||||
Reference in New Issue
Block a user