Commit Graph

9 Commits

Author SHA1 Message Date
Linden
9d98b9aada chore: types
mostly types anyway.
2023-07-31 16:29:27 +10:00
Dolu
b035c5aa56 feat(client/addKeybind): add defaultMapper field (#219)
This allow other mapper input like `MOUSE_BUTTON` for example.
See: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/
2023-04-17 14:11:18 +10:00
Scully
231d1c3c77 feat: improved RedM support (#162)
* Improvements + remove redm keybind system as it's pointless
2022-11-26 13:05:55 +11:00
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