mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fix virtual code translation to text for dead keys on macOS
This commit is contained in:
parent
752955c6f8
commit
59a93ff737
@ -866,7 +866,7 @@ void HIDInputManager::buildMappings()
|
||||
// Use current layout for translation
|
||||
OSStatus error = UCKeyTranslate(
|
||||
layout, virtualCode, kUCKeyActionDown, modifiers, LMGetKbdType(),
|
||||
kUCKeyTranslateNoDeadKeysBit, &deadKeyState, MAX_LENGTH, &length, string
|
||||
kUCKeyTranslateNoDeadKeysMask, &deadKeyState, MAX_LENGTH, &length, string
|
||||
);
|
||||
|
||||
if (error != noErr)
|
||||
|
Loading…
Reference in New Issue
Block a user