diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/events/maemosdl/maemosdl-events.cpp | 2 | ||||
-rw-r--r-- | backends/platform/maemo/maemo.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/events/maemosdl/maemosdl-events.cpp b/backends/events/maemosdl/maemosdl-events.cpp index 0046d297eb..dcdf0384e3 100644 --- a/backends/events/maemosdl/maemosdl-events.cpp +++ b/backends/events/maemosdl/maemosdl-events.cpp @@ -201,7 +201,7 @@ MaemoSdlEventObserver::MaemoSdlEventObserver(MaemoSdlEventSource *eventSource) { bool MaemoSdlEventObserver::notifyEvent(const Common::Event &event) { #ifdef ENABLE_KEYMAPPER - if (event.type != Common::EVENT_CUSTOM_BACKEND) + if (event.type != Common::EVENT_CUSTOM_BACKEND_ACTION) return false; if (event.customType == kEventClickMode) { assert(_eventSource); diff --git a/backends/platform/maemo/maemo.cpp b/backends/platform/maemo/maemo.cpp index 53e88d2286..5e8b6e16a7 100644 --- a/backends/platform/maemo/maemo.cpp +++ b/backends/platform/maemo/maemo.cpp @@ -194,7 +194,7 @@ Common::Keymap *OSystem_SDL_Maemo::getGlobalKeymap() { act = new Action(globalMap, "CLKM", _("Click Mode")); Event evt = Event(); - evt.type = EVENT_CUSTOM_BACKEND; + evt.type = EVENT_CUSTOM_BACKEND_ACTION; evt.customType = Maemo::kEventClickMode; act->addEvent(evt); |