summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 8ce40ffe2..ee91ed0f3 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -537,6 +537,7 @@ namespace InputAction
DROP_CLEAR,
WINDOW_CART,
HEAL_MOST_DAMAGED,
+ PET_MOVE,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 57cd4d7fe..0c37a2936 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3979,6 +3979,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::GAME | InputCondition::VALIDSPEED,
"healmd|saveass",
false},
+ {"keyPetMove",
+ defaultAction(&Actions::petMove),
+ InputCondition::INGAME,
+ "movepet|petmove",
+ true},
};
#undef defaultAction