Moves GLOB.movement_keys into SSinput and adds movement direction badminry (#34123)

* badmin flip dirs

* moves movement_keys into SSinput from GLOB
This commit is contained in:
Emmett Gaines
2018-01-14 14:37:59 -05:00
committed by CitadelStationBot
parent f2539f2b34
commit e27346812f
6 changed files with 75 additions and 10 deletions
-6
View File
@@ -14,12 +14,6 @@
/datum/proc/keyLoop(client/user) // Called once every frame
return
// Keys used for movement
GLOBAL_LIST_INIT(movement_keys, list(
"W" = NORTH, "A" = WEST, "S" = SOUTH, "D" = EAST, // WASD
"North" = NORTH, "West" = WEST, "South" = SOUTH, "East" = EAST, // Arrow keys & Numpad
))
// removes all the existing macros
/client/proc/erase_all_macros()
var/list/macro_sets = params2list(winget(src, null, "macros"))