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.h9
-rw-r--r--src/input/pages/other.cpp6
3 files changed, 16 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 928b1d5b9..6758492b9 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -403,6 +403,7 @@ namespace InputAction
DUMP_TESTS,
DUMP_OGL,
DUMP_GL,
+ DUMP_MODS,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index eb430ddfa..5e3260584 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3396,6 +3396,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"dumpgl",
+ false},
+ {"keyDumpMods",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::dumpMods,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "dumpMods",
false}
};
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index 4ade43d61..06ce2c348 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -311,6 +311,12 @@ SetupActionData setupActionDataOther[] =
},
{
// TRANSLATORS: input action name
+ N_("Print enabled mods in chat"),
+ InputAction::DUMP_MODS,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
N_("Dump environments into log"),
InputAction::DUMP_ENVIRONMENT,
"",