summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h2
-rw-r--r--src/input/inputactionmap.h18
2 files changed, 20 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 67bf95161..59134de0f 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -524,6 +524,8 @@ namespace InputAction
PET_DIRECT_DOWN,
PET_DIRECT_LEFT,
PET_DIRECT_RIGHT,
+ PET_AI_START,
+ PET_AI_STOP,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index c5d9d9d76..8c09001a2 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4460,6 +4460,24 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"petdirectright|directrightpet",
false},
+ {"keyPetAiStart",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::petAiStart,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "petaistart|startpetai",
+ false},
+ {"keyPetAiStop",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::petAiStop,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "petaistop|stoppetai",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H