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
-rw-r--r--src/input/pages/other.cpp6
3 files changed, 17 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index dcd1e2552..ee8d44a95 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -415,6 +415,7 @@ namespace InputAction
DISABLE_AWAY,
ENABLE_AWAY,
TEST_PARTICLE,
+ CREATE_ITEMS,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 56853f0c8..9485d46d7 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3512,7 +3512,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"testparticle",
- true}
+ true},
+ {"keyCreateItems",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::createItems,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "createitems",
+ false}
};
#endif // INPUT_INPUTACTIONMAP_H
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index aaa0067e0..a86d13860 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -275,6 +275,12 @@ SetupActionData setupActionDataOther[] =
},
{
// TRANSLATORS: input action name
+ N_("Crate items (for gms)"),
+ InputAction::CREATE_ITEMS,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
N_("Print configured directories in chat"),
InputAction::DIRS,
"",