mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 20:22:07 +00:00
About The Pull Request Ports tgstation/TerraGov-Marine-Corps#2977, overrides click proc to return focus back to chat bar using winsets also ports tgstation/TerraGov-Marine-Corps#1904 which has two sets of defaults for hotkey and classic mode fixes #47672 fixes #47659 much credit to @Rohesie and the TGMC team for a bunch of these improvements Why It's Good For The Game lets the non-hotkey players walk and talk again Changelog cl add: Custom keybinds will now check what style (classic / hotkey) you prefer when resetting if you use classic mode make sure to reset your keybinds to default! add: multiple keybind support tweak: non-hotkey mode keeps focus on chat fix: pressing 4 as cyborg now properly cycles fix: AI location hotkeys now work again /cl
22 lines
536 B
Plaintext
22 lines
536 B
Plaintext
GLOBAL_LIST_EMPTY(classic_keybinding_list_by_key)
|
|
GLOBAL_LIST_EMPTY(hotkey_keybinding_list_by_key)
|
|
GLOBAL_LIST_EMPTY(keybindings_by_name)
|
|
|
|
// This is a mapping from JS keys to Byond - ref: https://keycode.info/
|
|
GLOBAL_LIST_INIT(_kbMap, list(
|
|
"UP" = "North",
|
|
"RIGHT" = "East",
|
|
"DOWN" = "South",
|
|
"LEFT" = "West",
|
|
"INSERT" = "Insert",
|
|
"HOME" = "Northwest",
|
|
"PAGEUP" = "Northeast",
|
|
"DEL" = "Delete",
|
|
"END" = "Southwest",
|
|
"PAGEDOWN" = "Southeast",
|
|
"SPACEBAR" = "Space",
|
|
"ALT" = "Alt",
|
|
"SHIFT" = "Shift",
|
|
"CONTROL" = "Ctrl"
|
|
))
|