mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
More cleanup
svn-id: r29917
This commit is contained in:
parent
a47446600a
commit
d7e358acfa
@ -219,11 +219,9 @@ void AgiEngine::processEvents() {
|
||||
key = KEY_BACKSPACE;
|
||||
break;
|
||||
default:
|
||||
if (key < 256 && !isalpha(key)) {
|
||||
if (key < 256 && !isalpha(key))
|
||||
key = event.kbd.ascii;
|
||||
break;
|
||||
}
|
||||
if (event.kbd.flags & Common::KBD_CTRL)
|
||||
else if (event.kbd.flags & Common::KBD_CTRL)
|
||||
key = (key & ~0x20) - 0x40;
|
||||
else if (event.kbd.flags & Common::KBD_ALT)
|
||||
key = scancodeTable[(key & ~0x20) - 0x41] << 8;
|
||||
|
Loading…
Reference in New Issue
Block a user