summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
-rw-r--r--src/input/pages/basic.cpp6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index b96a187f8..9c00f0557 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4490,6 +4490,12 @@ static const InputActionData inputActionData
InputCondition::INGAME,
"servconfget|getservconf",
UseArgs_true},
+ {"keyChangeTargetingType",
+ defaultAction(&Actions::changeTargetingType),
+ InputCondition::GAME | InputCondition::VALIDSPEED
+ | InputCondition::EMODS,
+ "",
+ UseArgs_false},
};
#undef defaultAction
diff --git a/src/input/pages/basic.cpp b/src/input/pages/basic.cpp
index c87ac56d9..d304098e6 100644
--- a/src/input/pages/basic.cpp
+++ b/src/input/pages/basic.cpp
@@ -133,6 +133,12 @@ SetupActionData setupActionDataBasic[] =
},
{
// TRANSLATORS: input action name
+ N_("Change targeting type"),
+ InputAction::CHANGE_TARGETING_TYPE,
+ "",
+ },
+ {
+ // TRANSLATORS: input action name
N_("Target pet"),
InputAction::TARGET_PET,
"",