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 36adc4759..1f59fc288 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -350,6 +350,7 @@ namespace InputAction
WHISPER,
QUERY,
CLEAR_CHAT_TAB,
+ IGNORE,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index b5498427d..fc0e26755 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -2919,7 +2919,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"clear",
- false}
+ false},
+ {"keyIgnore",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::chatIgnore,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "ignore",
+ true}
};
#endif // INPUT_INPUTACTIONMAP_H