aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/events/maemosdl/maemosdl-events.cpp2
-rw-r--r--backends/platform/maemo/maemo.cpp2
-rw-r--r--common/events.h2
3 files changed, 3 insertions, 3 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);
diff --git a/common/events.h b/common/events.h
index 5f6a7798dd..4efdd67b91 100644
--- a/common/events.h
+++ b/common/events.h
@@ -78,7 +78,7 @@ enum EventType {
,
// IMPORTANT NOTE: This is part of the WIP Keymapper. If you plan to use
// this, please talk to tsoliman and/or LordHoto.
- EVENT_CUSTOM_BACKEND = 18,
+ EVENT_CUSTOM_BACKEND_ACTION = 18,
EVENT_KEYMAPPER_REMAP = 19
#endif
#ifdef ENABLE_VKEYBD