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 67ed7a8a0..e57deb0bc 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -385,6 +385,7 @@ namespace InputAction
CACHE_INFO,
DISCONNECT,
UNDRESS,
+ DIRS,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 7fdda0480..10dbcf90f 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3234,6 +3234,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"undress",
+ true},
+ {"keyDirs",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::dirs,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "dirs",
false}
};
diff --git a/src/input/pages/other.cpp b/src/input/pages/other.cpp
index 5d9aca31e..f730db629 100644
--- a/src/input/pages/other.cpp
+++ b/src/input/pages/other.cpp
@@ -268,6 +268,12 @@ SetupActionData setupActionDataOther[] =
"",
},
{
+ // TRANSLATORS: input action name
+ N_("Print configured directories in chat"),
+ InputAction::DIRS,
+ "",
+ },
+ {
"",
InputAction::NO_VALUE,
""