diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index c58de0c58..44cb67704 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -373,6 +373,7 @@ namespace InputAction COMMAMD_OUTFIT, COMMAMD_EMOTE, COMMAND_EMOTE_PET, + AWAY_MESSAGE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 63dbb622c..1a67b32c0 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3126,7 +3126,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "emotepet", - true} + true}, + {"keyAwayMessage", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::awayMessage, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "away", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |