aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTarek Soliman2012-02-21 06:57:32 -0600
committerTarek Soliman2012-02-21 08:20:40 -0600
commitaa42d78658eacc17a36ffe0d86541deffa534f79 (patch)
tree08f8e39c9b1c2f378c00316087e63a2e3a3aed70 /gui
parentd0c655f1fac3f559e0edb11246466304df1dd7f1 (diff)
downloadscummvm-rg350-aa42d78658eacc17a36ffe0d86541deffa534f79.tar.gz
scummvm-rg350-aa42d78658eacc17a36ffe0d86541deffa534f79.tar.bz2
scummvm-rg350-aa42d78658eacc17a36ffe0d86541deffa534f79.zip
KEYMAPPER: Remove automapping dead code
Diffstat (limited to 'gui')
-rw-r--r--gui/gui-manager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp
index 5f307380ea..e7f49e9b2a 100644
--- a/gui/gui-manager.cpp
+++ b/gui/gui-manager.cpp
@@ -112,18 +112,18 @@ void GuiManager::initKeymap() {
Action *act;
Keymap *guiMap = new Keymap(kGuiKeymapName);
- act = new Action(guiMap, "CLOS", _("Close"), kQuitActionType);
+ act = new Action(guiMap, "CLOS", _("Close"));
act->addKeyEvent(KeyState(KEYCODE_ESCAPE, ASCII_ESCAPE, 0));
- act = new Action(guiMap, "CLIK", _("Mouse click"), kLeftClickActionType);
+ act = new Action(guiMap, "CLIK", _("Mouse click"));
act->addLeftClickEvent();
#ifdef ENABLE_VKEYBD
- act = new Action(guiMap, "VIRT", _("Display keyboard"), kVirtualKeyboardActionType);
+ act = new Action(guiMap, "VIRT", _("Display keyboard"));
act->addEvent(EVENT_VIRTUAL_KEYBOARD);
#endif
- act = new Action(guiMap, "REMP", _("Remap keys"), kKeyRemapActionType);
+ act = new Action(guiMap, "REMP", _("Remap keys"));
act->addEvent(EVENT_KEYMAPPER_REMAP);
act = new Action(guiMap, "FULS", _("Toggle FullScreen"));