summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
-rw-r--r--src/input/pages/other.cpp6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index e30e50ae3..a87c0cada 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5732,6 +5732,12 @@ static const InputActionData inputActionData
"pettoegg|petegg|petreturn|returnpet|petreturnegg",
UseArgs_false,
Protected_false},
+ {"keyPetUnequip",
+ defaultAction(&Actions::petUnequip),
+ InputCondition::INGAME,
+ "petunequip|unequippet",
+ UseArgs_false,
+ Protected_false},
};
#undef defaultAction
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index a33ede552..88677c576 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -452,6 +452,12 @@ SetupActionData setupActionDataOther[] =
"",
},
{
+ // TRANSLATORS: input action name
+ N_("Unequip pet"),
+ InputAction::PET_UNEQUIP,
+ "",
+ },
+ {
"",
InputAction::NO_VALUE,
""