Files
Polaris/code/controllers/subsystems/input.dm
Cerebulon c463104999 Ports Diagonal Movement (#8199)
* Ports Diagonal Movement

* Requested tweaks

* mathemagical correction

* Update code/modules/keybindings/setup.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/_helpers/type2type.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/keybindings/setup.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* fixed merge error

* Fixes falling, speed calculation, and non-hotkey WASD

Co-authored-by: Spookerton <spkrtn@pm.me>
2022-10-07 23:36:14 -08:00

13 lines
400 B
Plaintext

SUBSYSTEM_DEF(input)
name = "Input"
wait = 1 // SS_TICKER means this runs every tick
init_order = INIT_ORDER_INPUT
flags = SS_TICKER
priority = FIRE_PRIORITY_INPUT
runlevels = RUNLEVELS_DEFAULT | RUNLEVEL_LOBBY
/datum/controller/subsystem/input/fire()
var/list/clients = GLOB.clients // Let's sing the list cache song
for(var/i in 1 to clients.len)
var/client/C = clients[i]
C?.keyLoop()