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 87cb80914..388898a84 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -399,6 +399,7 @@ namespace InputAction
SET_DROP,
ERROR,
DUMP_GRAPHICS,
+ DUMP_ENVIRONMENT,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 7d80d63fe..4cf34d4f3 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3360,6 +3360,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"dumpg",
+ false},
+ {"keyDumpe",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::dumpEnvironment,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "dumpe",
false}
};
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index 658c368f2..bf7666457 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -298,6 +298,12 @@ SetupActionData setupActionDataOther[] =
"",
},
{
+ // TRANSLATORS: input action name
+ N_("Dump environments into log"),
+ InputAction::DUMP_ENVIRONMENT,
+ "",
+ },
+ {
"",
InputAction::NO_VALUE,
""