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.h11
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 09f753117..510e42793 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -409,6 +409,7 @@ namespace InputAction
EXECUTE,
TEST_SDL_FONT,
ENABLE_HIGHLIGHT,
+ DISABLE_HIGHLIGHT,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 4a7f76c6b..d395d83b0 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3458,7 +3458,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"enablehighlight",
- true}
+ false},
+ {"keyDisableHightlight",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::disableHighlight,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "disablehighlight",
+ false}
};
#endif // INPUT_INPUTACTIONMAP_H