diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 5 | ||||
-rw-r--r-- | src/input/pages/outfits.cpp | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 2eb89fc22..1fc45b6d1 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -590,6 +590,7 @@ namespace InputAction HOMUN_EMOTE_47, HOMUN_EMOTE_48, KICK_GUILD, + HAT, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index a8d3853ac..d20201c79 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4431,6 +4431,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "kickguild|guildkick", true}, + {"keyHat", + defaultAction(&Actions::hat), + InputCondition::INGAME, + "hat|hats|showhat", + false}, }; #undef defaultAction diff --git a/src/input/pages/outfits.cpp b/src/input/pages/outfits.cpp index c554b5e28..20715a287 100644 --- a/src/input/pages/outfits.cpp +++ b/src/input/pages/outfits.cpp @@ -58,6 +58,12 @@ SetupActionData setupActionDataOutfits[] = }, { // TRANSLATORS: input action name + N_("Show hat in chat"), + InputAction::HAT, + "", + }, + { + // TRANSLATORS: input action name N_("Outfits shortcuts"), InputAction::NO_VALUE, "" |