diff options
author | Tarek Soliman | 2012-02-17 14:41:41 -0600 |
---|---|---|
committer | Tarek Soliman | 2012-02-17 14:42:39 -0600 |
commit | 53d6ef12090d0a0ce34145b3c661dc4e8df619d7 (patch) | |
tree | 4bf1715615f1a5f609344e67f9d752d608570cd4 /backends/events/maemosdl | |
parent | c87657f066ca9cbb0e07963c31cf57c96b1c5068 (diff) | |
download | scummvm-rg350-53d6ef12090d0a0ce34145b3c661dc4e8df619d7.tar.gz scummvm-rg350-53d6ef12090d0a0ce34145b3c661dc4e8df619d7.tar.bz2 scummvm-rg350-53d6ef12090d0a0ce34145b3c661dc4e8df619d7.zip |
MAEMO: Fix building without keymapper enabled
Diffstat (limited to 'backends/events/maemosdl')
-rw-r--r-- | backends/events/maemosdl/maemosdl-events.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/events/maemosdl/maemosdl-events.cpp b/backends/events/maemosdl/maemosdl-events.cpp index 932be0dc47..0046d297eb 100644 --- a/backends/events/maemosdl/maemosdl-events.cpp +++ b/backends/events/maemosdl/maemosdl-events.cpp @@ -200,6 +200,7 @@ MaemoSdlEventObserver::MaemoSdlEventObserver(MaemoSdlEventSource *eventSource) { } bool MaemoSdlEventObserver::notifyEvent(const Common::Event &event) { +#ifdef ENABLE_KEYMAPPER if (event.type != Common::EVENT_CUSTOM_BACKEND) return false; if (event.customType == kEventClickMode) { @@ -207,6 +208,7 @@ bool MaemoSdlEventObserver::notifyEvent(const Common::Event &event) { _eventSource->toggleClickMode(); return true; } +#endif return false; } |