aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/eventman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/eventman.cpp')
-rw-r--r--engines/lab/eventman.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/lab/eventman.cpp b/engines/lab/eventman.cpp
index 333cedd749..a94ddbf16b 100644
--- a/engines/lab/eventman.cpp
+++ b/engines/lab/eventman.cpp
@@ -205,4 +205,9 @@ Common::Point EventManager::updateAndGetMousePos() {
return _mousePos;
}
+void EventManager::simulateEvent() {
+ // Simulate an event by setting an unused key
+ _keyPressed = Common::KeyState(Common::KEYCODE_SEMICOLON);
+}
+
} // End of namespace Lab