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.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 1fc45b6d1..438075dcf 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -591,6 +591,7 @@ namespace InputAction
HOMUN_EMOTE_48,
KICK_GUILD,
HAT,
+ CREATE_PUBLIC_ROOM,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index d20201c79..78e23d819 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4436,6 +4436,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"hat|hats|showhat",
false},
+ {"keyCreatePublicRoom",
+ defaultAction(&Actions::createPublicChatRoom),
+ InputCondition::INGAME,
+ "createroom|createpublicroom",
+ true},
};
#undef defaultAction