aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-25 23:38:23 +0100
committerEugene Sandulenko2019-12-25 23:38:23 +0100
commitac2b6af639289c97cb7ff865e45fd99d85103866 (patch)
tree4165cc2f5a74cfa389bcade8ea040177231c3f0b /engines/sci
parentdef628acae02788ba99ea27833cd03c2da11aeb4 (diff)
downloadscummvm-rg350-ac2b6af639289c97cb7ff865e45fd99d85103866.tar.gz
scummvm-rg350-ac2b6af639289c97cb7ff865e45fd99d85103866.tar.bz2
scummvm-rg350-ac2b6af639289c97cb7ff865e45fd99d85103866.zip
SCI: Added temporary debug ouput for Polish input
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/event.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index d3e89a18fa..b74805c12c 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -299,6 +299,9 @@ SciEvent EventManager::getScummVMEvent() {
input.character = ev.kbd.ascii;
+ if (g_sci->getLanguage() == Common::PL_POL)
+ debug("character: %d(%x) keycode: %d(%x)", ev.kbd.ascii, ev.kbd.ascii, ev.kbd.keycode, ev.kbd.keycode);
+
if (scummVMKeycode >= Common::KEYCODE_KP0 && scummVMKeycode <= Common::KEYCODE_KP9 && !(scummVMKeyFlags & Common::KBD_NUM)) {
// TODO: Leaky abstractions from SDL should not be handled in game
// engines!