Rebindable communication(OOC, Say, Me) (#54035)

OOC, Say and Me is now rebindable
This commit is contained in:
Couls
2020-09-29 12:07:03 -04:00
committed by GitHub
parent 963779471a
commit 1432662d57
7 changed files with 48 additions and 12 deletions

View File

@@ -22,9 +22,6 @@ SUBSYSTEM_DEF(input)
macro_set = list(
"Any" = "\"KeyDown \[\[*\]\]\"",
"Any+UP" = "\"KeyUp \[\[*\]\]\"",
"O" = "ooc",
"T" = "say",
"M" = "me",
"Back" = "\".winset \\\"input.text=\\\"\\\"\\\"\"",
"Tab" = "\".winset \\\"input.focus=true?map.focus=true input.background-color=[COLOR_INPUT_DISABLED]:input.focus=true input.background-color=[COLOR_INPUT_ENABLED]\\\"\"",
"Escape" = "Reset-Held-Keys",
@@ -35,8 +32,7 @@ SUBSYSTEM_DEF(input)
var/list/clients = GLOB.clients
for(var/i in 1 to clients.len)
var/client/user = clients[i]
user.set_macros()
user.update_movement_keys()
user.update_special_keybinds()
/datum/controller/subsystem/input/fire()
var/list/clients = GLOB.clients // Let's sing the list cache song