diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 12 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index c9a35a66f..d67e60d2d 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -343,6 +343,7 @@ namespace InputAction TARGET_CLOSEST_MONSTER, CLOSE_ALL_CHAT_TABS, IGNORE_ALL_WHISPERS, + CHAT_ANNOUNCE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 47138a746..37810b5d7 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -27,6 +27,7 @@ #include "actions/actions.h" #include "actions/chat.h" +#include "actions/commands.h" #include "actions/move.h" #include "actions/statusbar.h" #include "actions/tabs.h" @@ -2855,7 +2856,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "ignoreallwhispers", - false} + false}, + {"keyChatAnnounce", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT | Input::GRP_GUI, + &Actions::chatAnnounce, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "announce", + true} }; #endif // INPUT_INPUTACTIONMAP_H |