aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/hdb.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 76f495649c..32d65d68e9 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -474,7 +474,10 @@ Common::Error HDBGame::run() {
_input->updateMouseButtons(0, 0, -1);
break;
case Common::EVENT_KEYDOWN:
- debug("Key was pressed.");
+ _input->updateKeys(event, true);
+ break;
+ case Common::EVENT_KEYUP:
+ _input->updateKeys(event, false);
break;
default:
break;