summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 19:47:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 19:47:28 +0300
commit7da95c7f4da447876458a0b1a17736b9a2865844 (patch)
tree4b6ac0ab5bc32a11234a5363de95d0cfec8cb7d5 /src/input
parent515ce6c1413b5e3da131f3e4997abdc39c003a2c (diff)
downloadplus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.gz
plus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.bz2
plus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.xz
plus-7da95c7f4da447876458a0b1a17736b9a2865844.zip
Move inputaction into separate file.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h346
-rw-r--r--src/input/inputmanager.cpp46
-rw-r--r--src/input/inputmanager.h3
-rw-r--r--src/input/keyboardconfig.cpp2
-rw-r--r--src/input/keyboarddata.h1261
-rw-r--r--src/input/keydata.h316
6 files changed, 1003 insertions, 971 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
new file mode 100644
index 000000000..5c3611233
--- /dev/null
+++ b/src/input/inputaction.h
@@ -0,0 +1,346 @@
+/*
+ * Custom keyboard shortcuts configuration
+ * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au>
+ * Copyright (C) 2009-2010 The Mana Developers
+ * Copyright (C) 2011-2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef INPUT_INPUTACTION_H
+#define INPUT_INPUTACTION_H
+
+namespace InputAction
+{
+ /**
+ * All the key functions.
+ * KEY_NO_VALUE is used in initialization, and should be unchanged.
+ * KEY_TOTAL should always be last (used as a conditional in loops).
+ * The key assignment view gets arranged according to the order of
+ * these values.
+ */
+ enum Type
+ {
+ NO_VALUE = -1,
+ MOVE_UP,
+ MOVE_DOWN,
+ MOVE_LEFT,
+ MOVE_RIGHT,
+ ATTACK,
+ TARGET_ATTACK,
+ MOVE_TO_TARGET,
+ CHANGE_MOVE_TO_TARGET,
+ MOVE_TO_HOME,
+ SET_HOME,
+ MOVE_TO_POINT,
+ TALK,
+ STOP_ATTACK,
+ UNTARGET,
+ TARGET_MONSTER,
+ TARGET_NPC,
+ TARGET_PLAYER,
+ PICKUP,
+ CHANGE_PICKUP_TYPE,
+ HIDE_WINDOWS,
+ SIT,
+ SCREENSHOT,
+ TRADE,
+ PATHFIND,
+ OK,
+ QUIT,
+ SHORTCUTS_KEY,
+ SHORTCUT_1,
+ SHORTCUT_2,
+ SHORTCUT_3,
+ SHORTCUT_4,
+ SHORTCUT_5,
+ SHORTCUT_6,
+ SHORTCUT_7,
+ SHORTCUT_8,
+ SHORTCUT_9,
+ SHORTCUT_10,
+ SHORTCUT_11,
+ SHORTCUT_12,
+ SHORTCUT_13,
+ SHORTCUT_14,
+ SHORTCUT_15,
+ SHORTCUT_16,
+ SHORTCUT_17,
+ SHORTCUT_18,
+ SHORTCUT_19,
+ SHORTCUT_20,
+ WINDOW_HELP,
+ WINDOW_STATUS,
+ WINDOW_INVENTORY,
+ WINDOW_EQUIPMENT,
+ WINDOW_SKILL,
+ WINDOW_MINIMAP,
+ WINDOW_CHAT,
+ WINDOW_SHORTCUT,
+ WINDOW_SETUP,
+ WINDOW_DEBUG,
+ WINDOW_SOCIAL,
+ WINDOW_EMOTE_SHORTCUT,
+ WINDOW_OUTFIT,
+ WINDOW_SHOP,
+ WINDOW_DROP,
+ WINDOW_KILLS,
+ WINDOW_SPELLS,
+ WINDOW_BOT_CHECKER,
+ WINDOW_ONLINE,
+ WINDOW_DIDYOUKNOW,
+ WINDOW_QUESTS,
+ PREV_SOCIAL_TAB,
+ NEXT_SOCIAL_TAB,
+ EMOTE,
+ EMOTE_1,
+ EMOTE_2,
+ EMOTE_3,
+ EMOTE_4,
+ EMOTE_5,
+ EMOTE_6,
+ EMOTE_7,
+ EMOTE_8,
+ EMOTE_9,
+ EMOTE_10,
+ EMOTE_11,
+ EMOTE_12,
+ EMOTE_13,
+ EMOTE_14,
+ EMOTE_15,
+ EMOTE_16,
+ EMOTE_17,
+ EMOTE_18,
+ EMOTE_19,
+ EMOTE_20,
+ EMOTE_21,
+ EMOTE_22,
+ EMOTE_23,
+ EMOTE_24,
+ EMOTE_25,
+ EMOTE_26,
+ EMOTE_27,
+ EMOTE_28,
+ EMOTE_29,
+ EMOTE_30,
+ EMOTE_31,
+ EMOTE_32,
+ EMOTE_33,
+ EMOTE_34,
+ EMOTE_35,
+ EMOTE_36,
+ EMOTE_37,
+ EMOTE_38,
+ EMOTE_39,
+ EMOTE_40,
+ EMOTE_41,
+ EMOTE_42,
+ EMOTE_43,
+ EMOTE_44,
+ EMOTE_45,
+ EMOTE_46,
+ EMOTE_47,
+ EMOTE_48,
+ WEAR_OUTFIT,
+ COPY_OUTFIT,
+ COPY_EQUIPED_OUTFIT,
+ OUTFIT_1,
+ OUTFIT_2,
+ OUTFIT_3,
+ OUTFIT_4,
+ OUTFIT_5,
+ OUTFIT_6,
+ OUTFIT_7,
+ OUTFIT_8,
+ OUTFIT_9,
+ OUTFIT_10,
+ OUTFIT_11,
+ OUTFIT_12,
+ OUTFIT_13,
+ OUTFIT_14,
+ OUTFIT_15,
+ OUTFIT_16,
+ OUTFIT_17,
+ OUTFIT_18,
+ OUTFIT_19,
+ OUTFIT_20,
+ OUTFIT_21,
+ OUTFIT_22,
+ OUTFIT_23,
+ OUTFIT_24,
+ OUTFIT_25,
+ OUTFIT_26,
+ OUTFIT_27,
+ OUTFIT_28,
+ OUTFIT_29,
+ OUTFIT_30,
+ OUTFIT_31,
+ OUTFIT_32,
+ OUTFIT_33,
+ OUTFIT_34,
+ OUTFIT_35,
+ OUTFIT_36,
+ OUTFIT_37,
+ OUTFIT_38,
+ OUTFIT_39,
+ OUTFIT_40,
+ OUTFIT_41,
+ OUTFIT_42,
+ OUTFIT_43,
+ OUTFIT_44,
+ OUTFIT_45,
+ OUTFIT_46,
+ OUTFIT_47,
+ OUTFIT_48,
+ MOVE_TO_POINT_1,
+ MOVE_TO_POINT_2,
+ MOVE_TO_POINT_3,
+ MOVE_TO_POINT_4,
+ MOVE_TO_POINT_5,
+ MOVE_TO_POINT_6,
+ MOVE_TO_POINT_7,
+ MOVE_TO_POINT_8,
+ MOVE_TO_POINT_9,
+ MOVE_TO_POINT_10,
+ MOVE_TO_POINT_11,
+ MOVE_TO_POINT_12,
+ MOVE_TO_POINT_13,
+ MOVE_TO_POINT_14,
+ MOVE_TO_POINT_15,
+ MOVE_TO_POINT_16,
+ MOVE_TO_POINT_17,
+ MOVE_TO_POINT_18,
+ MOVE_TO_POINT_19,
+ MOVE_TO_POINT_20,
+ MOVE_TO_POINT_21,
+ MOVE_TO_POINT_22,
+ MOVE_TO_POINT_23,
+ MOVE_TO_POINT_24,
+ MOVE_TO_POINT_25,
+ MOVE_TO_POINT_26,
+ MOVE_TO_POINT_27,
+ MOVE_TO_POINT_28,
+ MOVE_TO_POINT_29,
+ MOVE_TO_POINT_30,
+ MOVE_TO_POINT_31,
+ MOVE_TO_POINT_32,
+ MOVE_TO_POINT_33,
+ MOVE_TO_POINT_34,
+ MOVE_TO_POINT_35,
+ MOVE_TO_POINT_36,
+ MOVE_TO_POINT_37,
+ MOVE_TO_POINT_38,
+ MOVE_TO_POINT_39,
+ MOVE_TO_POINT_40,
+ MOVE_TO_POINT_41,
+ MOVE_TO_POINT_42,
+ MOVE_TO_POINT_43,
+ MOVE_TO_POINT_44,
+ MOVE_TO_POINT_45,
+ MOVE_TO_POINT_46,
+ MOVE_TO_POINT_47,
+ MOVE_TO_POINT_48,
+ TOGGLE_CHAT,
+ SCROLL_CHAT_UP,
+ SCROLL_CHAT_DOWN,
+ PREV_CHAT_TAB,
+ NEXT_CHAT_TAB,
+ CLOSE_CHAT_TAB,
+ CHAT_PREV_HISTORY,
+ CHAT_NEXT_HISTORY,
+ IGNORE_INPUT_1,
+ IGNORE_INPUT_2,
+ DIRECT_UP,
+ DIRECT_DOWN,
+ DIRECT_LEFT,
+ DIRECT_RIGHT,
+ CRAZY_MOVES,
+ CHANGE_CRAZY_MOVES_TYPE,
+ QUICK_DROP,
+ QUICK_DROPN,
+ SWITCH_QUICK_DROP,
+ MAGIC_INMA1,
+ MAGIC_ITENPLZ,
+ MAGIC_ATTACK,
+ SWITCH_MAGIC_ATTACK,
+ SWITCH_PVP_ATTACK,
+ INVERT_DIRECTION,
+ CHANGE_ATTACK_WEAPON_TYPE,
+ CHANGE_ATTACK_TYPE,
+ CHANGE_FOLLOW_MODE,
+ CHANGE_IMITATION_MODE,
+ DISABLE_GAME_MODIFIERS,
+ CHANGE_AUDIO,
+ AWAY,
+ RIGHT_CLICK,
+ CAMERA,
+ RESERVED1,
+ GUI_UP,
+ GUI_DOWN,
+ GUI_LEFT,
+ GUI_RIGHT,
+ GUI_SELECT,
+ GUI_SELECT2,
+ GUI_CANCEL,
+ GUI_HOME,
+ GUI_END,
+ GUI_DELETE,
+ GUI_BACKSPACE,
+ GUI_TAB,
+ GUI_PAGE_UP,
+ GUI_PAGE_DOWN,
+ GUI_INSERT,
+ GUI_MOD,
+ SAFE_VIDEO,
+ STOP_SIT,
+ SHOW_KEYBOARD,
+ SHOW_WINDOWS,
+ CHAT_MOD,
+ MOVE_FORWARD,
+ GUI_CTRL,
+ GUI_B,
+ GUI_C,
+ GUI_D,
+ GUI_E,
+ GUI_F,
+ GUI_H,
+ GUI_K,
+ GUI_U,
+ GUI_V,
+ GUI_W,
+ PREV_SHORTCUTS_TAB,
+ NEXT_SHORTCUTS_TAB,
+ PREV_COMMANDS_TAB,
+ NEXT_COMMANDS_TAB,
+ OPEN_TRADE,
+ GUI_F1,
+ GUI_F2,
+ GUI_F3,
+ GUI_F4,
+ GUI_F5,
+ GUI_F6,
+ GUI_F7,
+ GUI_F8,
+ GUI_F9,
+ GUI_F10,
+ GUI_F11,
+ GUI_F12,
+ WINDOW_ABOUT,
+ TOTAL
+ };
+} // namespace InputAction
+
+#endif // INPUT_INPUTACTION_H
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 27d41e1fd..813880209 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -69,7 +69,7 @@ namespace
InputManager::InputManager() :
mSetupInput(nullptr),
- mNewKeyIndex(Input::KEY_NO_VALUE),
+ mNewKeyIndex(InputAction::NO_VALUE),
mMask(1),
mNameMap()
{
@@ -77,7 +77,7 @@ InputManager::InputManager() :
void InputManager::init()
{
- for (unsigned int i = 0; i < Input::KEY_TOTAL; i++)
+ for (unsigned int i = 0; i < InputAction::TOTAL; i++)
{
KeyFunction &kf = mKey[i];
for (unsigned int f = 0; f < KeyFunctionSize; f ++)
@@ -88,7 +88,7 @@ void InputManager::init()
}
}
- mNewKeyIndex = Input::KEY_NO_VALUE;
+ mNewKeyIndex = InputAction::NO_VALUE;
resetKeys();
retrieve();
@@ -104,7 +104,7 @@ void InputManager::update()
void InputManager::retrieve()
{
- for (int i = 0; i < Input::KEY_TOTAL; i++)
+ for (int i = 0; i < InputAction::TOTAL; i++)
{
#ifdef USE_SDL2
const std::string cf = std::string("sdl2") + keyData[i].configField;
@@ -159,7 +159,7 @@ void InputManager::retrieve()
void InputManager::store() const
{
- for (int i = 0; i < Input::KEY_TOTAL; i++)
+ for (int i = 0; i < InputAction::TOTAL; i++)
{
#ifdef USE_SDL2
const std::string cf = std::string("sdl2") + keyData[i].configField;
@@ -241,13 +241,13 @@ void InputManager::resetKey(const int i)
void InputManager::resetKeys()
{
- for (int i = 0; i < Input::KEY_TOTAL; i++)
+ for (int i = 0; i < InputAction::TOTAL; i++)
resetKey(i);
}
void InputManager::makeDefault(const int i)
{
- if (i >= 0 && i < Input::KEY_TOTAL)
+ if (i >= 0 && i < InputAction::TOTAL)
{
resetKey(i);
update();
@@ -260,7 +260,7 @@ bool InputManager::hasConflicts(int &restrict key1, int &restrict key2) const
* No need to parse the square matrix: only check one triangle
* that's enough to detect conflicts
*/
- for (int i = 0; i < Input::KEY_TOTAL; i++)
+ for (int i = 0; i < InputAction::TOTAL; i++)
{
const KeyData &kdi = keyData[i];
if (!*kdi.configField)
@@ -270,11 +270,11 @@ bool InputManager::hasConflicts(int &restrict key1, int &restrict key2) const
for (size_t i2 = 0; i2 < KeyFunctionSize; i2 ++)
{
const KeyItem &vali2 = ki.values[i2];
- if (vali2.value == Input::KEY_NO_VALUE)
+ if (vali2.value == InputAction::NO_VALUE)
continue;
size_t j;
- for (j = i, j++; j < Input::KEY_TOTAL; j++)
+ for (j = i, j++; j < InputAction::TOTAL; j++)
{
if ((kdi.grp & keyData[j].grp) == 0 || !*kdi.configField)
continue;
@@ -328,7 +328,7 @@ bool InputManager::isActionActive0(const int index)
KeyFunction &InputManager::getKey(int index)
{
- if (index < 0 || index >= Input::KEY_TOTAL)
+ if (index < 0 || index >= InputAction::TOTAL)
index = 0;
return mKey[index];
}
@@ -433,7 +433,7 @@ std::string InputManager::getKeyValueByName(const std::string &keyName)
void InputManager::addActionKey(const int action, const int type,
const int val)
{
- if (action < 0 || action >= Input::KEY_TOTAL)
+ if (action < 0 || action >= InputAction::TOTAL)
return;
int idx = -1;
@@ -493,11 +493,11 @@ void InputManager::unassignKey()
bool InputManager::handleAssignKey(const SDL_Event &event, const int type)
{
if (setupWindow && setupWindow->isWindowVisible() &&
- getNewKeyIndex() > Input::KEY_NO_VALUE)
+ getNewKeyIndex() > InputAction::NO_VALUE)
{
setNewKey(event, type);
callbackNewKey();
- setNewKeyIndex(Input::KEY_NO_VALUE);
+ setNewKeyIndex(InputAction::NO_VALUE);
return true;
}
return false;
@@ -654,8 +654,8 @@ void InputManager::updateConditionMask()
if (!player_node || !player_node->getDisableGameModifiers())
mMask |= InputCondition::EMODS;
- if (!isActionActive0(Input::KEY_STOP_ATTACK)
- && !isActionActive0(Input::KEY_UNTARGET))
+ if (!isActionActive0(InputAction::STOP_ATTACK)
+ && !isActionActive0(InputAction::UNTARGET))
{
mMask |= InputCondition::NOTARGET;
}
@@ -672,7 +672,7 @@ bool InputManager::checkKey(const KeyData *const key) const
if (!key || (key->condition & mMask) != key->condition)
return false;
- return (key->modKeyIndex == Input::KEY_NO_VALUE
+ return (key->modKeyIndex == InputAction::NO_VALUE
|| isActionActive0(key->modKeyIndex));
}
@@ -692,7 +692,7 @@ bool InputManager::invokeKey(const KeyData *const key, const int keyNum)
void InputManager::executeAction(const int keyNum)
{
- if (keyNum < 0 || keyNum >= Input::KEY_TOTAL)
+ if (keyNum < 0 || keyNum >= InputAction::TOTAL)
return;
InputEvent evt(keyNum, mMask);
@@ -709,7 +709,7 @@ void InputManager::updateKeyActionMap(KeyToActionMap &actionMap,
actionMap.clear();
keyTimeMap.clear();
- for (size_t i = 0; i < Input::KEY_TOTAL; i ++)
+ for (size_t i = 0; i < InputAction::TOTAL; i ++)
{
const KeyFunction &key = mKey[i];
const KeyData &kd = keyData[i];
@@ -761,7 +761,7 @@ bool InputManager::triggerAction(const KeysVector *const ptrs)
FOR_EACHP (KeysVectorCIter, it, ptrs)
{
const int keyNum = *it;
- if (keyNum < 0 || keyNum >= Input::KEY_TOTAL)
+ if (keyNum < 0 || keyNum >= InputAction::TOTAL)
continue;
if (invokeKey(&keyData[keyNum], keyNum))
@@ -773,7 +773,7 @@ bool InputManager::triggerAction(const KeysVector *const ptrs)
int InputManager::getKeyIndex(const int value, const int grp,
const int type) const
{
- for (size_t i = 0; i < Input::KEY_TOTAL; i++)
+ for (size_t i = 0; i < InputAction::TOTAL; i++)
{
const KeyFunction &key = mKey[i];
const KeyData &kd = keyData[i];
@@ -787,7 +787,7 @@ int InputManager::getKeyIndex(const int value, const int grp,
}
}
}
- return Input::KEY_NO_VALUE;
+ return InputAction::NO_VALUE;
}
int InputManager::getActionByKey(const SDL_Event &event) const
@@ -799,5 +799,5 @@ int InputManager::getActionByKey(const SDL_Event &event) const
if (idx >= 0 && checkKey(&keyData[idx]))
return idx;
}
- return Input::KEY_NO_VALUE;
+ return InputAction::NO_VALUE;
}
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index c76d5728c..6b0634a96 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -21,6 +21,7 @@
#ifndef INPUT_INPUTMANAGER_H
#define INPUT_INPUTMANAGER_H
+#include "input/inputaction.h"
#include "input/keyfunction.h"
#include "input/keydata.h"
@@ -129,7 +130,7 @@ class InputManager final
std::map<std::string, int> mNameMap;
- KeyFunction mKey[Input::KEY_TOTAL]; /**< Pointer to all the key data */
+ KeyFunction mKey[InputAction::TOTAL];
};
extern InputManager inputManager;
diff --git a/src/input/keyboardconfig.cpp b/src/input/keyboardconfig.cpp
index 58ef2007a..2b6ccce27 100644
--- a/src/input/keyboardconfig.cpp
+++ b/src/input/keyboardconfig.cpp
@@ -86,7 +86,7 @@ void KeyboardConfig::refreshActiveKeys()
std::string KeyboardConfig::getKeyName(const int key)
{
- if (key == Input::KEY_NO_VALUE)
+ if (key == InputAction::NO_VALUE)
return "";
if (key >= 0)
{
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index f947021a4..5d02e1dab 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -26,6 +26,7 @@
#include "actionmanager.h"
#include "localconsts.h"
+#include "input/inputaction.h"
#include "input/inputcondition.h"
#include "input/inputmanager.h"
#include "input/inputtype.h"
@@ -35,41 +36,41 @@
#include <string>
// keyData must be in same order as enum keyAction.
-static const KeyData keyData[Input::KEY_TOTAL] = {
+static const KeyData keyData[InputAction::TOTAL] = {
{"keyMoveUp",
InputType::KEYBOARD, SDLK_UP,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveUp,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::ARROWKEYS},
{"keyMoveDown",
InputType::KEYBOARD, SDLK_DOWN,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveDown,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::ARROWKEYS},
{"keyMoveLeft",
InputType::KEYBOARD, SDLK_LEFT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveLeft,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::ARROWKEYS},
{"keyMoveRight",
InputType::KEYBOARD, SDLK_RIGHT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveRight,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::ARROWKEYS},
{"keyAttack",
InputType::KEYBOARD, SDLK_x,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_REPEAT,
&ActionManager::attack,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOFOLLOW
| InputCondition::VALIDSPEED},
{"keyTargetAttack",
@@ -77,145 +78,145 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
InputType::JOYSTICK, 0,
Input::GRP_DEFAULT,
&ActionManager::targetAttack,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOFOLLOW
| InputCondition::VALIDSPEED},
{"keyMoveToTarget",
InputType::KEYBOARD, SDLK_v,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveToTarget,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyChangeMoveToTarget",
InputType::KEYBOARD, SDLK_PERIOD,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeMoveToTarget,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyMoveToHome",
InputType::KEYBOARD, SDLK_d,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveToHome,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keySetHome",
InputType::KEYBOARD, SDLK_KP5,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::setHome,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyMoveToPoint",
InputType::KEYBOARD, SDLK_RSHIFT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyTalk",
InputType::KEYBOARD, SDLK_t,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::talk,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME},
{"keyTarget",
InputType::KEYBOARD, SDLK_LSHIFT,
InputType::JOYSTICK, 4,
Input::GRP_DEFAULT,
&ActionManager::stopAttack,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME},
{"keyUnTarget",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::untarget,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME},
{"keyTargetMonster",
InputType::KEYBOARD, SDLK_a,
InputType::JOYSTICK, 3,
Input::GRP_DEFAULT | Input::GRP_REPEAT,
&ActionManager::targetMonster,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET
| InputCondition::VALIDSPEED},
{"keyTargetNPC",
InputType::KEYBOARD, SDLK_n,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::targetNPC,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyTargetPlayer",
InputType::KEYBOARD, SDLK_q,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::targetPlayer,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyPickup",
InputType::KEYBOARD, SDLK_z,
InputType::JOYSTICK, 1,
Input::GRP_DEFAULT,
&ActionManager::pickup,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyChangePickupType",
InputType::KEYBOARD, SDLK_o,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changePickupType,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyHideWindows",
InputType::KEYBOARD, SDLK_h,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::hideWindows,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyBeingSit",
InputType::KEYBOARD, SDLK_s,
InputType::JOYSTICK, 2,
Input::GRP_DEFAULT,
&ActionManager::sit,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyScreenshot",
InputType::KEYBOARD, SDLK_p,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::screenshot,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOTARGET},
{"keyTrade",
InputType::KEYBOARD, SDLK_r,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeTrade,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyPathfind",
InputType::KEYBOARD, SDLK_f,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeMapMode,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET
| InputCondition::EMODS},
{"keyOK",
InputType::KEYBOARD, SDLK_SPACE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::ok,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOMODAL | InputCondition::NOAWAY
| InputCondition::NONPCINPUT},
{"keyQuit",
@@ -223,1982 +224,1982 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
#if defined(USE_SDL2) && defined(ANDROID)
InputType::KEYBOARD, SDLK_AC_BACK,
#else
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
#endif
Input::GRP_DEFAULT,
&ActionManager::quit,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyShortcutsKey",
InputType::KEYBOARD, SDLK_MENU,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyShortcut1",
InputType::KEYBOARD, SDLK_1,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut2",
InputType::KEYBOARD, SDLK_2,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut3",
InputType::KEYBOARD, SDLK_3,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut4",
InputType::KEYBOARD, SDLK_4,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut5",
InputType::KEYBOARD, SDLK_5,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut6",
InputType::KEYBOARD, SDLK_6,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut7",
InputType::KEYBOARD, SDLK_7,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut8",
InputType::KEYBOARD, SDLK_8,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut9",
InputType::KEYBOARD, SDLK_9,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut10",
InputType::KEYBOARD, SDLK_0,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut11",
InputType::KEYBOARD, SDLK_MINUS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut12",
InputType::KEYBOARD, SDLK_EQUALS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut13",
InputType::KEYBOARD, SDLK_BACKSPACE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut14",
InputType::KEYBOARD, SDLK_INSERT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut15",
InputType::KEYBOARD, SDLK_HOME,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut16",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut17",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut18",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut19",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyShortcut20",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::shortcut,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT},
{"keyWindowHelp",
InputType::KEYBOARD, SDLK_F1,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::helpWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT0},
{"keyWindowStatus",
InputType::KEYBOARD, SDLK_F2,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::statusWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowInventory",
InputType::KEYBOARD, SDLK_F3,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::inventoryWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowEquipment",
InputType::KEYBOARD, SDLK_F4,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::equipmentWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowSkill",
InputType::KEYBOARD, SDLK_F5,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::skillDialogShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowMinimap",
InputType::KEYBOARD, SDLK_F6,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::minimapWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowChat",
InputType::KEYBOARD, SDLK_F7,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::chatWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowShortcut",
InputType::KEYBOARD, SDLK_F8,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::shortcutWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowSetup",
InputType::KEYBOARD, SDLK_F9,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::setupWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOTARGET | InputCondition::NOINPUT
| InputCondition::ENABLED},
{"keyWindowDebug",
InputType::KEYBOARD, SDLK_F10,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::debugWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowSocial",
InputType::KEYBOARD, SDLK_F11,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::socialWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowEmoteBar",
InputType::KEYBOARD, SDLK_F12,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::emoteShortcutWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowOutfit",
InputType::KEYBOARD, SDLK_BACKQUOTE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::outfitWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowShop",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::shopWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowDrop",
InputType::KEYBOARD, SDLK_w,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::dropShortcutWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowKills",
InputType::KEYBOARD, SDLK_e,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::killStatsWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowSpells",
InputType::KEYBOARD, SDLK_j,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::spellShortcutWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowBotChecker",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::botcheckerWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowOnline",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::whoIsOnlineWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyWindowDidYouKnow",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::didYouKnowWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT0},
{"keyWindowQuests",
InputType::KEYBOARD, SDLK_LEFTBRACKET,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::questsWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keySocialPrevTab",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::prevSocialTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keySocialNextTab",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::nextSocialTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keySmilie",
InputType::KEYBOARD, SDLK_LALT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyEmoteShortcut1",
InputType::KEYBOARD, SDLK_1,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut2",
InputType::KEYBOARD, SDLK_2,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut3",
InputType::KEYBOARD, SDLK_3,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut4",
InputType::KEYBOARD, SDLK_4,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut5",
InputType::KEYBOARD, SDLK_5,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut6",
InputType::KEYBOARD, SDLK_6,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut7",
InputType::KEYBOARD, SDLK_7,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut8",
InputType::KEYBOARD, SDLK_8,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut9",
InputType::KEYBOARD, SDLK_9,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut10",
InputType::KEYBOARD, SDLK_0,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut11",
InputType::KEYBOARD, SDLK_MINUS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut12",
InputType::KEYBOARD, SDLK_EQUALS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut13",
InputType::KEYBOARD, SDLK_BACKSPACE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut14",
InputType::KEYBOARD, SDLK_INSERT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut15",
InputType::KEYBOARD, SDLK_HOME,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut16",
InputType::KEYBOARD, SDLK_q,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut17",
InputType::KEYBOARD, SDLK_w,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut18",
InputType::KEYBOARD, SDLK_e,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut19",
InputType::KEYBOARD, SDLK_r,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut20",
InputType::KEYBOARD, SDLK_t,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut21",
InputType::KEYBOARD, SDLK_y,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut22",
InputType::KEYBOARD, SDLK_u,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut23",
InputType::KEYBOARD, SDLK_i,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut24",
InputType::KEYBOARD, SDLK_o,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut25",
InputType::KEYBOARD, SDLK_p,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut26",
InputType::KEYBOARD, SDLK_LEFTBRACKET,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut27",
InputType::KEYBOARD, SDLK_RIGHTBRACKET,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut28",
InputType::KEYBOARD, SDLK_BACKSLASH,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut29",
InputType::KEYBOARD, SDLK_a,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut30",
InputType::KEYBOARD, SDLK_s,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut31",
InputType::KEYBOARD, SDLK_d,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut32",
InputType::KEYBOARD, SDLK_f,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut33",
InputType::KEYBOARD, SDLK_g,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut34",
InputType::KEYBOARD, SDLK_h,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut35",
InputType::KEYBOARD, SDLK_j,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut36",
InputType::KEYBOARD, SDLK_k,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut37",
InputType::KEYBOARD, SDLK_l,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut38",
InputType::KEYBOARD, SDLK_SEMICOLON,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut39",
InputType::KEYBOARD, SDLK_QUOTE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut40",
InputType::KEYBOARD, SDLK_z,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut41",
InputType::KEYBOARD, SDLK_x,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut42",
InputType::KEYBOARD, SDLK_c,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut43",
InputType::KEYBOARD, SDLK_v,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut44",
InputType::KEYBOARD, SDLK_b,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut45",
InputType::KEYBOARD, SDLK_n,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut46",
InputType::KEYBOARD, SDLK_m,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut47",
InputType::KEYBOARD, SDLK_COMMA,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyEmoteShortcut48",
InputType::KEYBOARD, SDLK_PERIOD,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_EMOTION,
&ActionManager::emote,
- Input::KEY_EMOTE, 100,
+ InputAction::EMOTE, 100,
InputCondition::GAME},
{"keyWearOutfit",
InputType::KEYBOARD, SDLK_RCTRL,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyCopyOutfit",
InputType::KEYBOARD, SDLK_RALT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyCopyEquipedOutfit",
InputType::KEYBOARD, SDLK_RIGHTBRACKET,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::copyEquippedToOutfit,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyOutfitShortcut1",
InputType::KEYBOARD, SDLK_1,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut2",
InputType::KEYBOARD, SDLK_2,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut3",
InputType::KEYBOARD, SDLK_3,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut4",
InputType::KEYBOARD, SDLK_4,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut5",
InputType::KEYBOARD, SDLK_5,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut6",
InputType::KEYBOARD, SDLK_6,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut7",
InputType::KEYBOARD, SDLK_7,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut8",
InputType::KEYBOARD, SDLK_8,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut9",
InputType::KEYBOARD, SDLK_9,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut10",
InputType::KEYBOARD, SDLK_0,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut11",
InputType::KEYBOARD, SDLK_MINUS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut12",
InputType::KEYBOARD, SDLK_EQUALS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut13",
InputType::KEYBOARD, SDLK_BACKSPACE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut14",
InputType::KEYBOARD, SDLK_INSERT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut15",
InputType::KEYBOARD, SDLK_HOME,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut16",
InputType::KEYBOARD, SDLK_q,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut17",
InputType::KEYBOARD, SDLK_w,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut18",
InputType::KEYBOARD, SDLK_e,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut19",
InputType::KEYBOARD, SDLK_r,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut20",
InputType::KEYBOARD, SDLK_t,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut21",
InputType::KEYBOARD, SDLK_y,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut22",
InputType::KEYBOARD, SDLK_u,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut23",
InputType::KEYBOARD, SDLK_i,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut24",
InputType::KEYBOARD, SDLK_o,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut25",
InputType::KEYBOARD, SDLK_p,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut26",
InputType::KEYBOARD, SDLK_LEFTBRACKET,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut27",
InputType::KEYBOARD, SDLK_RIGHTBRACKET,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut28",
InputType::KEYBOARD, SDLK_BACKSLASH,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut29",
InputType::KEYBOARD, SDLK_a,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut30",
InputType::KEYBOARD, SDLK_s,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut31",
InputType::KEYBOARD, SDLK_d,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut32",
InputType::KEYBOARD, SDLK_f,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut33",
InputType::KEYBOARD, SDLK_g,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut34",
InputType::KEYBOARD, SDLK_h,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut35",
InputType::KEYBOARD, SDLK_j,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut36",
InputType::KEYBOARD, SDLK_k,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut37",
InputType::KEYBOARD, SDLK_l,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut38",
InputType::KEYBOARD, SDLK_SEMICOLON,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut39",
InputType::KEYBOARD, SDLK_QUOTE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut40",
InputType::KEYBOARD, SDLK_z,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut41",
InputType::KEYBOARD, SDLK_x,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut42",
InputType::KEYBOARD, SDLK_c,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut43",
InputType::KEYBOARD, SDLK_v,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut44",
InputType::KEYBOARD, SDLK_b,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut45",
InputType::KEYBOARD, SDLK_n,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut46",
InputType::KEYBOARD, SDLK_m,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut47",
InputType::KEYBOARD, SDLK_COMMA,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyOutfitShortcut48",
InputType::KEYBOARD, SDLK_PERIOD,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_OUTFIT,
&ActionManager::outfit,
- Input::KEY_NO_VALUE, 100,
+ InputAction::NO_VALUE, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut1",
InputType::KEYBOARD, SDLK_1,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut2",
InputType::KEYBOARD, SDLK_2,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut3",
InputType::KEYBOARD, SDLK_3,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut4",
InputType::KEYBOARD, SDLK_4,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut5",
InputType::KEYBOARD, SDLK_5,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut6",
InputType::KEYBOARD, SDLK_6,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut7",
InputType::KEYBOARD, SDLK_7,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut8",
InputType::KEYBOARD, SDLK_8,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut9",
InputType::KEYBOARD, SDLK_9,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut10",
InputType::KEYBOARD, SDLK_0,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut11",
InputType::KEYBOARD, SDLK_MINUS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut12",
InputType::KEYBOARD, SDLK_EQUALS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut13",
InputType::KEYBOARD, SDLK_BACKSPACE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut14",
InputType::KEYBOARD, SDLK_INSERT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut15",
InputType::KEYBOARD, SDLK_HOME,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut16",
InputType::KEYBOARD, SDLK_q,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut17",
InputType::KEYBOARD, SDLK_w,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut18",
InputType::KEYBOARD, SDLK_e,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut19",
InputType::KEYBOARD, SDLK_r,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut20",
InputType::KEYBOARD, SDLK_t,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut21",
InputType::KEYBOARD, SDLK_y,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut22",
InputType::KEYBOARD, SDLK_u,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut23",
InputType::KEYBOARD, SDLK_i,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut24",
InputType::KEYBOARD, SDLK_o,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut25",
InputType::KEYBOARD, SDLK_p,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut26",
InputType::KEYBOARD, SDLK_LEFTBRACKET,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut27",
InputType::KEYBOARD, SDLK_RIGHTBRACKET,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut28",
InputType::KEYBOARD, SDLK_BACKSLASH,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut29",
InputType::KEYBOARD, SDLK_a,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut30",
InputType::KEYBOARD, SDLK_s,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut31",
InputType::KEYBOARD, SDLK_d,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut32",
InputType::KEYBOARD, SDLK_f,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut33",
InputType::KEYBOARD, SDLK_g,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut34",
InputType::KEYBOARD, SDLK_h,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut35",
InputType::KEYBOARD, SDLK_j,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut36",
InputType::KEYBOARD, SDLK_k,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut37",
InputType::KEYBOARD, SDLK_l,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut38",
InputType::KEYBOARD, SDLK_SEMICOLON,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut39",
InputType::KEYBOARD, SDLK_QUOTE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut40",
InputType::KEYBOARD, SDLK_z,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut41",
InputType::KEYBOARD, SDLK_x,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut42",
InputType::KEYBOARD, SDLK_c,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut43",
InputType::KEYBOARD, SDLK_v,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut44",
InputType::KEYBOARD, SDLK_b,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut45",
InputType::KEYBOARD, SDLK_n,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut46",
InputType::KEYBOARD, SDLK_m,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut47",
InputType::KEYBOARD, SDLK_COMMA,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyMoveToPointShortcut48",
InputType::KEYBOARD, SDLK_PERIOD,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_MOVETOPOINT,
&ActionManager::moveToPoint,
- Input::KEY_MOVE_TO_POINT, 100,
+ InputAction::MOVE_TO_POINT, 100,
InputCondition::GAME},
{"keyChat",
InputType::KEYBOARD, SDLK_RETURN,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_CHAT,
&ActionManager::toggleChat,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::NOAWAY
| InputCondition::NOMODAL | InputCondition::INGAME},
{"keyChatScrollUp",
InputType::KEYBOARD, SDLK_PAGEUP,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::scrollChatUp,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyChatScrollDown",
InputType::KEYBOARD, SDLK_PAGEDOWN,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::scrollChatDown,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyChatPrevTab",
InputType::KEYBOARD, SDLK_KP7,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::prevChatTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keyChatNextTab",
InputType::KEYBOARD, SDLK_KP9,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::nextChatTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keyChatCloseTab",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::closeChatTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keyChatPrevHistory",
InputType::KEYBOARD, SDLK_KP7,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_CHAT | Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyChatNextHistory",
InputType::KEYBOARD, SDLK_KP9,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_CHAT | Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyIgnoreInput1",
#ifdef USE_SDL2
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
#else
InputType::KEYBOARD, SDLK_LSUPER,
#endif
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::ignoreInput,
- Input::KEY_NO_VALUE, 500,
+ InputAction::NO_VALUE, 500,
InputCondition::DEFAULT},
{"keyIgnoreInput2",
#ifdef USE_SDL2
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
#else
InputType::KEYBOARD, SDLK_RSUPER,
#endif
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::ignoreInput,
- Input::KEY_NO_VALUE, 500,
+ InputAction::NO_VALUE, 500,
InputCondition::DEFAULT},
{"keyDirectUp",
InputType::KEYBOARD, SDLK_l,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::directUp,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME},
{"keyDirectDown",
InputType::KEYBOARD, SDLK_SEMICOLON,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::directDown,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME},
{"keyDirectLeft",
InputType::KEYBOARD, SDLK_k,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::directLeft,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME},
{"keyDirectRight",
InputType::KEYBOARD, SDLK_QUOTE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::directRight,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME},
{"keyCrazyMoves",
InputType::KEYBOARD, SDLK_SLASH,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::crazyMoves,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyChangeCrazyMoveType",
InputType::KEYBOARD, SDLK_BACKSLASH,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeCrazyMove,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyQuickDrop",
InputType::KEYBOARD, SDLK_y,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::dropItem0,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyQuickDropN",
InputType::KEYBOARD, SDLK_u,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::dropItem,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keySwitchQuickDrop",
InputType::KEYBOARD, SDLK_i,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::switchQuickDrop,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyMagicInma1",
InputType::KEYBOARD, SDLK_c,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::heal,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyMagicItenplz",
InputType::KEYBOARD, SDLK_m,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::itenplz,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyMagicAttack",
InputType::KEYBOARD, SDLK_b,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::magicAttack,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keySwitchMagicAttack",
InputType::KEYBOARD, SDLK_COMMA,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeMagicAttack,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keySwitchPvpAttack",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changePvpMode,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyInvertDirection",
- InputType::KEYBOARD, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::KEYBOARD, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeMoveType,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyChangeAttackWeaponType",
InputType::KEYBOARD, SDLK_g,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeAttackWeaponType,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyChangeAttackType",
InputType::KEYBOARD, SDLK_END,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeAttackType,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyChangeFollowMode",
InputType::KEYBOARD, SDLK_KP1,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeFollowMode,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyChangeImitationMode",
InputType::KEYBOARD, SDLK_KP4,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeImitationMode,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyDisableGameModifiers",
InputType::KEYBOARD, SDLK_KP8,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeGameModifier,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyChangeAudio",
InputType::KEYBOARD, SDLK_KP3,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::changeAudio,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyAway",
InputType::KEYBOARD, SDLK_KP2,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::away,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED},
{"keyRightClick",
InputType::KEYBOARD, SDLK_TAB,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::mouseClick,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::NOAWAY
| InputCondition::NOMODAL | InputCondition::INGAME},
{"keyCameraMode",
InputType::KEYBOARD, SDLK_KP_PLUS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::camera,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::VALIDSPEED
| InputCondition::EMODS},
{"keyMod",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
0,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIUp",
InputType::KEYBOARD, SDLK_UP,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIDown",
InputType::KEYBOARD, SDLK_DOWN,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUILeft",
InputType::KEYBOARD, SDLK_LEFT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIRight",
InputType::KEYBOARD, SDLK_RIGHT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUISelect",
InputType::KEYBOARD, SDLK_SPACE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUISelect2",
InputType::KEYBOARD, SDLK_RETURN,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUICancel",
InputType::KEYBOARD, SDLK_ESCAPE,
#if defined(USE_SDL2) && defined(ANDROID)
InputType::KEYBOARD, SDLK_AC_BACK,
#else
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
#endif
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIHome",
InputType::KEYBOARD, SDLK_HOME,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIEnd",
InputType::KEYBOARD, SDLK_END,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIDelete",
InputType::KEYBOARD, SDLK_DELETE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIBackSpace",
InputType::KEYBOARD, SDLK_BACKSPACE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUITab",
InputType::KEYBOARD, SDLK_TAB,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIPageUp",
InputType::KEYBOARD, SDLK_PAGEUP,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIPageDown",
InputType::KEYBOARD, SDLK_PAGEDOWN,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIInsert",
InputType::KEYBOARD, SDLK_INSERT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIMod",
InputType::KEYBOARD, SDLK_LSHIFT,
InputType::KEYBOARD, SDLK_RSHIFT,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keySafeVideo",
InputType::KEYBOARD, SDLK_KP_MINUS,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::safeVideoMode,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyStopSit",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::stopSit,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyShowKeyboard",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::showKeyboard,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyShowWindows",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::showWindows,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyChatMod",
InputType::KEYBOARD, SDLK_LSHIFT,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT | InputCondition::INGAME},
{"keyMoveForward",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::moveForward,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::ARROWKEYS},
{"keyGUICtrl",
InputType::KEYBOARD, SDLK_LCTRL,
InputType::KEYBOARD, SDLK_RCTRL,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIb",
InputType::KEYBOARD, SDLK_b,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIc",
InputType::KEYBOARD, SDLK_c,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUId",
InputType::KEYBOARD, SDLK_d,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIe",
InputType::KEYBOARD, SDLK_e,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIf",
InputType::KEYBOARD, SDLK_f,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIh",
InputType::KEYBOARD, SDLK_h,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIk",
InputType::KEYBOARD, SDLK_k,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIu",
InputType::KEYBOARD, SDLK_u,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIv",
InputType::KEYBOARD, SDLK_v,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIw",
InputType::KEYBOARD, SDLK_w,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyShortcutsPrevTab",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::prevShortcutsTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keyShortcutsNextTab",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::nextShortcutsTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keyCommandsPrevTab",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::prevCommandsTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keyCommandsNextTab",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::nextCommandsTab,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::INGAME},
{"keyOpenTrade",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT,
&ActionManager::openTrade,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::GAME | InputCondition::NOTARGET},
{"keyGUIF1",
InputType::KEYBOARD, SDLK_F1,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF2",
InputType::KEYBOARD, SDLK_F2,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF3",
InputType::KEYBOARD, SDLK_F3,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF4",
InputType::KEYBOARD, SDLK_F4,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF5",
InputType::KEYBOARD, SDLK_F5,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF6",
InputType::KEYBOARD, SDLK_F6,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF7",
InputType::KEYBOARD, SDLK_F7,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF8",
InputType::KEYBOARD, SDLK_F8,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF9",
InputType::KEYBOARD, SDLK_F9,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF10",
InputType::KEYBOARD, SDLK_F10,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF11",
InputType::KEYBOARD, SDLK_F11,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyGUIF12",
InputType::KEYBOARD, SDLK_F12,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_GUICHAN | Input::GRP_CHAT,
nullptr,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::DEFAULT},
{"keyWindowAbout",
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
- InputType::UNKNOWN, Input::KEY_NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
Input::GRP_DEFAULT | Input::GRP_GUI,
&ActionManager::aboutWindowShow,
- Input::KEY_NO_VALUE, 50,
+ InputAction::NO_VALUE, 50,
InputCondition::SHORTCUT0},
};
diff --git a/src/input/keydata.h b/src/input/keydata.h
index 41a0e85a5..2004936d7 100644
--- a/src/input/keydata.h
+++ b/src/input/keydata.h
@@ -57,322 +57,6 @@ namespace Input
GRP_REPEAT = 128 // repeat emulation keys
};
- /**
- * All the key functions.
- * KEY_NO_VALUE is used in initialization, and should be unchanged.
- * KEY_TOTAL should always be last (used as a conditional in loops).
- * The key assignment view gets arranged according to the order of
- * these values.
- */
- enum KeyAction
- {
- KEY_NO_VALUE = -1,
- KEY_MOVE_UP,
- KEY_MOVE_DOWN,
- KEY_MOVE_LEFT,
- KEY_MOVE_RIGHT,
- KEY_ATTACK,
- KEY_TARGET_ATTACK,
- KEY_MOVE_TO_TARGET,
- KEY_CHANGE_MOVE_TO_TARGET,
- KEY_MOVE_TO_HOME,
- KEY_SET_HOME,
- KEY_MOVE_TO_POINT,
- KEY_TALK,
- KEY_STOP_ATTACK,
- KEY_UNTARGET,
- KEY_TARGET_MONSTER,
- KEY_TARGET_NPC,
- KEY_TARGET_PLAYER,
- KEY_PICKUP,
- KEY_CHANGE_PICKUP_TYPE,
- KEY_HIDE_WINDOWS,
- KEY_SIT,
- KEY_SCREENSHOT,
- KEY_TRADE,
- KEY_PATHFIND,
- KEY_OK,
- KEY_QUIT,
- KEY_SHORTCUTS_KEY,
- KEY_SHORTCUT_1,
- KEY_SHORTCUT_2,
- KEY_SHORTCUT_3,
- KEY_SHORTCUT_4,
- KEY_SHORTCUT_5,
- KEY_SHORTCUT_6,
- KEY_SHORTCUT_7,
- KEY_SHORTCUT_8,
- KEY_SHORTCUT_9,
- KEY_SHORTCUT_10,
- KEY_SHORTCUT_11,
- KEY_SHORTCUT_12,
- KEY_SHORTCUT_13,
- KEY_SHORTCUT_14,
- KEY_SHORTCUT_15,
- KEY_SHORTCUT_16,
- KEY_SHORTCUT_17,
- KEY_SHORTCUT_18,
- KEY_SHORTCUT_19,
- KEY_SHORTCUT_20,
- KEY_WINDOW_HELP,
- KEY_WINDOW_STATUS,
- KEY_WINDOW_INVENTORY,
- KEY_WINDOW_EQUIPMENT,
- KEY_WINDOW_SKILL,
- KEY_WINDOW_MINIMAP,
- KEY_WINDOW_CHAT,
- KEY_WINDOW_SHORTCUT,
- KEY_WINDOW_SETUP,
- KEY_WINDOW_DEBUG,
- KEY_WINDOW_SOCIAL,
- KEY_WINDOW_EMOTE_SHORTCUT,
- KEY_WINDOW_OUTFIT,
- KEY_WINDOW_SHOP,
- KEY_WINDOW_DROP,
- KEY_WINDOW_KILLS,
- KEY_WINDOW_SPELLS,
- KEY_WINDOW_BOT_CHECKER,
- KEY_WINDOW_ONLINE,
- KEY_WINDOW_DIDYOUKNOW,
- KEY_WINDOW_QUESTS,
- KEY_PREV_SOCIAL_TAB,
- KEY_NEXT_SOCIAL_TAB,
- KEY_EMOTE,
- KEY_EMOTE_1,
- KEY_EMOTE_2,
- KEY_EMOTE_3,
- KEY_EMOTE_4,
- KEY_EMOTE_5,
- KEY_EMOTE_6,
- KEY_EMOTE_7,
- KEY_EMOTE_8,
- KEY_EMOTE_9,
- KEY_EMOTE_10,
- KEY_EMOTE_11,
- KEY_EMOTE_12,
- KEY_EMOTE_13,
- KEY_EMOTE_14,
- KEY_EMOTE_15,
- KEY_EMOTE_16,
- KEY_EMOTE_17,
- KEY_EMOTE_18,
- KEY_EMOTE_19,
- KEY_EMOTE_20,
- KEY_EMOTE_21,
- KEY_EMOTE_22,
- KEY_EMOTE_23,
- KEY_EMOTE_24,
- KEY_EMOTE_25,
- KEY_EMOTE_26,
- KEY_EMOTE_27,
- KEY_EMOTE_28,
- KEY_EMOTE_29,
- KEY_EMOTE_30,
- KEY_EMOTE_31,
- KEY_EMOTE_32,
- KEY_EMOTE_33,
- KEY_EMOTE_34,
- KEY_EMOTE_35,
- KEY_EMOTE_36,
- KEY_EMOTE_37,
- KEY_EMOTE_38,
- KEY_EMOTE_39,
- KEY_EMOTE_40,
- KEY_EMOTE_41,
- KEY_EMOTE_42,
- KEY_EMOTE_43,
- KEY_EMOTE_44,
- KEY_EMOTE_45,
- KEY_EMOTE_46,
- KEY_EMOTE_47,
- KEY_EMOTE_48,
- KEY_WEAR_OUTFIT,
- KEY_COPY_OUTFIT,
- KEY_COPY_EQUIPED_OUTFIT,
- KEY_OUTFIT_1,
- KEY_OUTFIT_2,
- KEY_OUTFIT_3,
- KEY_OUTFIT_4,
- KEY_OUTFIT_5,
- KEY_OUTFIT_6,
- KEY_OUTFIT_7,
- KEY_OUTFIT_8,
- KEY_OUTFIT_9,
- KEY_OUTFIT_10,
- KEY_OUTFIT_11,
- KEY_OUTFIT_12,
- KEY_OUTFIT_13,
- KEY_OUTFIT_14,
- KEY_OUTFIT_15,
- KEY_OUTFIT_16,
- KEY_OUTFIT_17,
- KEY_OUTFIT_18,
- KEY_OUTFIT_19,
- KEY_OUTFIT_20,
- KEY_OUTFIT_21,
- KEY_OUTFIT_22,
- KEY_OUTFIT_23,
- KEY_OUTFIT_24,
- KEY_OUTFIT_25,
- KEY_OUTFIT_26,
- KEY_OUTFIT_27,
- KEY_OUTFIT_28,
- KEY_OUTFIT_29,
- KEY_OUTFIT_30,
- KEY_OUTFIT_31,
- KEY_OUTFIT_32,
- KEY_OUTFIT_33,
- KEY_OUTFIT_34,
- KEY_OUTFIT_35,
- KEY_OUTFIT_36,
- KEY_OUTFIT_37,
- KEY_OUTFIT_38,
- KEY_OUTFIT_39,
- KEY_OUTFIT_40,
- KEY_OUTFIT_41,
- KEY_OUTFIT_42,
- KEY_OUTFIT_43,
- KEY_OUTFIT_44,
- KEY_OUTFIT_45,
- KEY_OUTFIT_46,
- KEY_OUTFIT_47,
- KEY_OUTFIT_48,
- KEY_MOVE_TO_POINT_1,
- KEY_MOVE_TO_POINT_2,
- KEY_MOVE_TO_POINT_3,
- KEY_MOVE_TO_POINT_4,
- KEY_MOVE_TO_POINT_5,
- KEY_MOVE_TO_POINT_6,
- KEY_MOVE_TO_POINT_7,
- KEY_MOVE_TO_POINT_8,
- KEY_MOVE_TO_POINT_9,
- KEY_MOVE_TO_POINT_10,
- KEY_MOVE_TO_POINT_11,
- KEY_MOVE_TO_POINT_12,
- KEY_MOVE_TO_POINT_13,
- KEY_MOVE_TO_POINT_14,
- KEY_MOVE_TO_POINT_15,
- KEY_MOVE_TO_POINT_16,
- KEY_MOVE_TO_POINT_17,
- KEY_MOVE_TO_POINT_18,
- KEY_MOVE_TO_POINT_19,
- KEY_MOVE_TO_POINT_20,
- KEY_MOVE_TO_POINT_21,
- KEY_MOVE_TO_POINT_22,
- KEY_MOVE_TO_POINT_23,
- KEY_MOVE_TO_POINT_24,
- KEY_MOVE_TO_POINT_25,
- KEY_MOVE_TO_POINT_26,
- KEY_MOVE_TO_POINT_27,
- KEY_MOVE_TO_POINT_28,
- KEY_MOVE_TO_POINT_29,
- KEY_MOVE_TO_POINT_30,
- KEY_MOVE_TO_POINT_31,
- KEY_MOVE_TO_POINT_32,
- KEY_MOVE_TO_POINT_33,
- KEY_MOVE_TO_POINT_34,
- KEY_MOVE_TO_POINT_35,
- KEY_MOVE_TO_POINT_36,
- KEY_MOVE_TO_POINT_37,
- KEY_MOVE_TO_POINT_38,
- KEY_MOVE_TO_POINT_39,
- KEY_MOVE_TO_POINT_40,
- KEY_MOVE_TO_POINT_41,
- KEY_MOVE_TO_POINT_42,
- KEY_MOVE_TO_POINT_43,
- KEY_MOVE_TO_POINT_44,
- KEY_MOVE_TO_POINT_45,
- KEY_MOVE_TO_POINT_46,
- KEY_MOVE_TO_POINT_47,
- KEY_MOVE_TO_POINT_48,
- KEY_TOGGLE_CHAT,
- KEY_SCROLL_CHAT_UP,
- KEY_SCROLL_CHAT_DOWN,
- KEY_PREV_CHAT_TAB,
- KEY_NEXT_CHAT_TAB,
- KEY_CLOSE_CHAT_TAB,
- KEY_CHAT_PREV_HISTORY,
- KEY_CHAT_NEXT_HISTORY,
- KEY_IGNORE_INPUT_1,
- KEY_IGNORE_INPUT_2,
- KEY_DIRECT_UP,
- KEY_DIRECT_DOWN,
- KEY_DIRECT_LEFT,
- KEY_DIRECT_RIGHT,
- KEY_CRAZY_MOVES,
- KEY_CHANGE_CRAZY_MOVES_TYPE,
- KEY_QUICK_DROP,
- KEY_QUICK_DROPN,
- KEY_SWITCH_QUICK_DROP,
- KEY_MAGIC_INMA1,
- KEY_MAGIC_ITENPLZ,
- KEY_MAGIC_ATTACK,
- KEY_SWITCH_MAGIC_ATTACK,
- KEY_SWITCH_PVP_ATTACK,
- KEY_INVERT_DIRECTION,
- KEY_CHANGE_ATTACK_WEAPON_TYPE,
- KEY_CHANGE_ATTACK_TYPE,
- KEY_CHANGE_FOLLOW_MODE,
- KEY_CHANGE_IMITATION_MODE,
- KEY_DISABLE_GAME_MODIFIERS,
- KEY_CHANGE_AUDIO,
- KEY_AWAY,
- KEY_RIGHT_CLICK,
- KEY_CAMERA,
- KEY_RESERVED1,
- KEY_GUI_UP,
- KEY_GUI_DOWN,
- KEY_GUI_LEFT,
- KEY_GUI_RIGHT,
- KEY_GUI_SELECT,
- KEY_GUI_SELECT2,
- KEY_GUI_CANCEL,
- KEY_GUI_HOME,
- KEY_GUI_END,
- KEY_GUI_DELETE,
- KEY_GUI_BACKSPACE,
- KEY_GUI_TAB,
- KEY_GUI_PAGE_UP,
- KEY_GUI_PAGE_DOWN,
- KEY_GUI_INSERT,
- KEY_GUI_MOD,
- KEY_SAFE_VIDEO,
- KEY_STOP_SIT,
- KEY_SHOW_KEYBOARD,
- KEY_SHOW_WINDOWS,
- KEY_CHAT_MOD,
- KEY_MOVE_FORWARD,
- KEY_GUI_CTRL,
- KEY_GUI_B,
- KEY_GUI_C,
- KEY_GUI_D,
- KEY_GUI_E,
- KEY_GUI_F,
- KEY_GUI_H,
- KEY_GUI_K,
- KEY_GUI_U,
- KEY_GUI_V,
- KEY_GUI_W,
- KEY_PREV_SHORTCUTS_TAB,
- KEY_NEXT_SHORTCUTS_TAB,
- KEY_PREV_COMMANDS_TAB,
- KEY_NEXT_COMMANDS_TAB,
- KEY_OPEN_TRADE,
- KEY_GUI_F1,
- KEY_GUI_F2,
- KEY_GUI_F3,
- KEY_GUI_F4,
- KEY_GUI_F5,
- KEY_GUI_F6,
- KEY_GUI_F7,
- KEY_GUI_F8,
- KEY_GUI_F9,
- KEY_GUI_F10,
- KEY_GUI_F11,
- KEY_GUI_F12,
- KEY_WINDOW_ABOUT,
- KEY_TOTAL
- };
} // namespace Input
#endif // INPUT_KEYDATA_H