summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h4
-rw-r--r--src/input/inputactionmap.h36
2 files changed, 40 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 7e330f909..67ac8f446 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -516,6 +516,10 @@ namespace InputAction
LEAVE_PARTY,
WARP,
CLEAR_CHAT,
+ PET_MOVE_UP,
+ PET_MOVE_DOWN,
+ PET_MOVE_LEFT,
+ PET_MOVE_RIGHT,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 4c1c6d986..4dc84bb71 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4388,6 +4388,42 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"clearchat|chatclear",
false},
+ {"keyPetMoveUp",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::petMoveUp,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "petmoveup|moveuppet",
+ false},
+ {"keyPetMoveDown",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::petMoveDown,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "petmovedown|movedownpet",
+ false},
+ {"keyPetMoveLeft",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::petMoveLeft,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "petmoveleft|moveleftpet",
+ false},
+ {"keyPetMoveRight",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::petMoveRight,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "petmoveright|moverightpet",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H