Commit Graph

6 Commits

Author SHA1 Message Date
Linden
f96cb13ff4 refactor(client/addKeybind): save control hash 2022-11-24 17:31:03 +11:00
Linden
ba635b91e7 fix(client/addKeybind): get control button when indexing currentKey
Changing the key binding for a command invalidates the previous result from
GetControlInstructionalButton. Use an index metamethod for backwards
compatibility and add the getCurrentKey method.
2022-11-24 17:16:57 +11:00
Linden
541e708970 refactor(addKeybind): move RegisterCommand to top 2022-10-25 02:58:39 +11:00
Linden
5b2c74afa0 refactor(addKeybind): improve types 2022-10-16 12:49:47 +11:00
Dominic
63b8afa9ed refactor(addKeybind): consistency with defaultKey (#128) 2022-10-16 12:41:49 +11:00
Dominic
4f71595122 refactor(keybinds): rename module, tweaks (#127) 2022-10-15 10:08:20 +11:00