aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/PlatformSDL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/PlatformSDL.cpp')
-rw-r--r--engines/wintermute/PlatformSDL.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/wintermute/PlatformSDL.cpp b/engines/wintermute/PlatformSDL.cpp
index 909ecb525e..934670a628 100644
--- a/engines/wintermute/PlatformSDL.cpp
+++ b/engines/wintermute/PlatformSDL.cpp
@@ -244,6 +244,8 @@ void CBPlatform::HandleEvent(Common::Event *event) {
case Common::EVENT_MBUTTONUP:
if (Game) Game->OnMouseMiddleUp();
break;
+ case Common::EVENT_KEYDOWN:
+ if (Game) Game->HandleKeypress(event);
/*#ifdef __IPHONEOS__
{
CBRenderSDL *renderer = static_cast<CBRenderSDL *>(Game->_renderer);