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 388898a84..bc819bf1e 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -400,6 +400,7 @@ namespace InputAction
ERROR,
DUMP_GRAPHICS,
DUMP_ENVIRONMENT,
+ DUMP_TESTS,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 4cf34d4f3..b363a7ce1 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3369,6 +3369,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"dumpe",
+ false},
+ {"keyDumpt",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::dumpTests,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "dumpt",
false}
};
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index bf7666457..e91bd40b4 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -299,6 +299,12 @@ SetupActionData setupActionDataOther[] =
},
{
// TRANSLATORS: input action name
+ N_("Dump tests info into chat"),
+ InputAction::DUMP_TESTS,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
N_("Dump environments into log"),
InputAction::DUMP_ENVIRONMENT,
"",