Files
Paradise/code/datums/input_data.dm
T
mochi 03b28e0386 Address TM issues
Unicode support
Better numpad support
Fix no perms message
Fix modifier screwing movement
2021-06-12 15:00:09 +02:00

21 lines
768 B
Plaintext

/datum/input_data
/// Associative list of currently held keys.
var/list/keys_held = list()
/// Associative list of currently held key combos.
var/list/key_combos_held = list()
/// Bitflags of the direction the client wishes to move. Updated instantaneously.
var/desired_move_dir = NONE
/// Bitflags of the buffered direction the client wishes to move. Reset on client/Move().
var/desired_move_dir_add = NONE
/// Bitflags of the buffered direction the client wishes not to move. Reset on client/Move().
var/desired_move_dir_sub = NONE
/// Whether the movement should be locked in place.
var/move_lock = FALSE
// Key send spam guard.
var/client_keysend_amount = 0
var/next_keysend_reset = 0
var/next_keysend_trip_reset = 0
var/keysend_tripped = FALSE