Space Station 13 - Modules - TypesDefine Details

code/__DEFINES/keybindings_defines.dm

MAX_KEYPRESS_COMMANDLENGTHMax length of a keypress command before it's considered to be a forged packet/bogus command
MAX_KEYPRESS_AUTOKICKMax amount of keypress messages per second over two seconds before client is autokicked
HELD_KEY_BUFFER_LENGTHLength of held key rolling buffer
MAX_COMMANDS_PER_KEYMaximum keys that can be bound to one button

Define Details

HELD_KEY_BUFFER_LENGTH

Length of held key rolling buffer

MAX_COMMANDS_PER_KEY

Maximum keys that can be bound to one button

MAX_KEYPRESS_AUTOKICK

Max amount of keypress messages per second over two seconds before client is autokicked

MAX_KEYPRESS_COMMANDLENGTH

Max length of a keypress command before it's considered to be a forged packet/bogus command