Create a keybind
Set up the default keys that need to be pressed
Optionalalt?: booleanOptionalctrl?: booleanMain key, can be a numeric keycode or a lower case character
Optionalmeta?: booleanOptionalshift?: booleanOptionalvariations: Record<string, VariationModifier>OptionalaltOptionalctrlReadonlylabelOptionalshiftOptionalvariationsTest which variation would be triggered by the event. Returns the ID of the variation if triggered
The event to test
Test if a variation would be triggered by the event
The event to test
The variation to test againts
Unassign the assigned key
Get the name of the bound key
Optionalkey: stringGet display text showing the keybind
Optionalformatted: booleanIf true, the return string will include HTML formatting
Check if a key is assigned
Open a UI to let the user record a new key combination
Save any changes to local storage
Optionalsave: falseSave all keybinding changes to local storage. Set to fales if updating multiple at once
Assign an action to the keybind
ID of the action
Optionalsub_id: stringsub keybind ID
Stop recording a new key combination
Returns the label of the keybinding
StaticloadLoad an included keymap by ID
Optionalfrom_start_screen: booleanStaticno_Check if two KeybindItems are mutually exclusive, so only one can be available at the time. This is only the case if they each have a ConditionResolvable that is structured to support this
A customizable keybind