aboutsummaryrefslogtreecommitdiff
path: root/engines/glk
diff options
context:
space:
mode:
authorPaul Gilbert2019-03-03 21:24:41 -0800
committerPaul Gilbert2019-03-03 21:24:55 -0800
commit0146ae2255e880cac46f52d9fdd445634d691e75 (patch)
tree98cb19c609da1a0068d2f5b697e8c78d62b3e626 /engines/glk
parent08ae52608c07be9848718f699e26ec63bb55f607 (diff)
downloadscummvm-rg350-0146ae2255e880cac46f52d9fdd445634d691e75.tar.gz
scummvm-rg350-0146ae2255e880cac46f52d9fdd445634d691e75.tar.bz2
scummvm-rg350-0146ae2255e880cac46f52d9fdd445634d691e75.zip
GLK: Revert to passing ascii characters rather than scancodes to the sub-engines
Diffstat (limited to 'engines/glk')
-rw-r--r--engines/glk/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/events.cpp b/engines/glk/events.cpp
index f1ff970e91..efcf2c5bc6 100644
--- a/engines/glk/events.cpp
+++ b/engines/glk/events.cpp
@@ -323,7 +323,7 @@ void Events::handleKeyDown(const Common::KeyState &ks) {
windows.inputHandleKey(keycode_Func12);
break;
default:
- windows.inputHandleKey(ks.keycode);
+ windows.inputHandleKey(ks.ascii);
break;
}
}