aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/maemo
diff options
context:
space:
mode:
authorTarek Soliman2012-02-13 23:24:09 -0600
committerTarek Soliman2012-02-13 23:24:59 -0600
commit5cf932198e289b8e8d2fe0ee3e57d7cfbf3b65eb (patch)
treed408ba0cdddaa2f2e8047f2327f03f2515d3c556 /backends/platform/maemo
parentad9fdfd3904a78da10cbd3f8e0c7358b9d5d4d8b (diff)
downloadscummvm-rg350-5cf932198e289b8e8d2fe0ee3e57d7cfbf3b65eb.tar.gz
scummvm-rg350-5cf932198e289b8e8d2fe0ee3e57d7cfbf3b65eb.tar.bz2
scummvm-rg350-5cf932198e289b8e8d2fe0ee3e57d7cfbf3b65eb.zip
KEYMAPPER: Fix Action ctor args in most keymaps
Diffstat (limited to 'backends/platform/maemo')
-rw-r--r--backends/platform/maemo/maemo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/maemo/maemo.cpp b/backends/platform/maemo/maemo.cpp
index 728e8b4023..77d630fc30 100644
--- a/backends/platform/maemo/maemo.cpp
+++ b/backends/platform/maemo/maemo.cpp
@@ -140,19 +140,19 @@ Common::Keymap *OSystem_SDL_Maemo::getGlobalKeymap() {
Action *act;
- act = new Action(globalMap, "CLKM", _("Click Mode"), kKeyRemapActionType);
+ act = new Action(globalMap, "CLKM", _("Click Mode"));
Event evt = Event();
evt.type = EVENT_CUSTOM_BACKEND;
evt.customType = Maemo::kEventClickMode;
act->addEvent(evt);
- act = new Action(globalMap, "LCLK", _("Left Click"), kKeyRemapActionType);
+ act = new Action(globalMap, "LCLK", _("Left Click"), kLeftClickActionType);
act->addLeftClickEvent();
- act = new Action(globalMap, "MCLK", _("Middle Click"), kKeyRemapActionType);
+ act = new Action(globalMap, "MCLK", _("Middle Click"));
act->addMiddleClickEvent();
- act = new Action(globalMap, "RCLK", _("Right Click"), kKeyRemapActionType);
+ act = new Action(globalMap, "RCLK", _("Right Click"), kRightClickActionType);
act->addRightClickEvent();
return globalMap;