diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index dba7a2a91..f39b1864b 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -593,6 +593,7 @@ namespace InputAction HAT, CREATE_PUBLIC_ROOM, JOIN_ROOM, + LEAVE_ROOM, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index f923e2000..9d6293628 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4446,6 +4446,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "joinroom", true}, + {"keyLeaveRoom", + defaultAction(&Actions::leaveChatRoom), + InputCondition::INGAME, + "leaveroom", + false}, }; #undef defaultAction |