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.h11
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 422a141ae..74c3a90f8 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -483,6 +483,7 @@ namespace InputAction
MERCENARY_FIRE,
TARGET_MERCENARY,
TARGET_PET,
+ PET_SET_NAME,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index edd9620be..9b0a6f363 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4088,7 +4088,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME | InputCondition::NOTARGET,
"targetpet",
- false}
+ false},
+ {"keyPetSetName",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::setPetName,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "setpetname|petsetname",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H