mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
AGS: Keypress fixes for non-alphanumeric characters
This commit is contained in:
parent
a69da418f5
commit
05ea21c94d
@ -87,7 +87,7 @@ int EventsManager::readKey() {
|
||||
|
||||
if (isExtendedKey(keyState.keycode))
|
||||
code |= EXTENDED_KEY_CODE;
|
||||
else if (keyState.flags == 0)
|
||||
else if ((keyState.flags & (Common::KBD_CTRL | Common::KBD_ALT)) == 0)
|
||||
code |= keyState.ascii;
|
||||
else
|
||||
code |= scancode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user