Registered Keybinding actions
A mapping of a string key to possible Actions that might execute off it
A stored cache of Keybind Actions Ids to Bindings
An alias of the movement key set tracked by the keyboard
Initializes the keybinding values for all registered actions
Register a new keybinding
The namespace the Keybinding Action belongs to
A unique machine-readable id for the Keybinding Action
Configuration for keybinding data
Get the current Bindings of a given namespace's Keybinding Action
The namespace under which the setting is registered
The keybind action to retrieve
Set the editable Bindings of a Keybinding Action for a certain namespace and Action
The namespace under which the Keybinding is registered
The Keybinding action to set
The Bindings to assign to the Keybinding
Reset all client keybindings back to their default configuration.
Register core keybindings
Handle panning the canvas using CTRL + directional keys
Handle keyboard movement once a small delay has elapsed to allow for multiple simultaneous key-presses.
The context data of the event
The active InteractionLayer instance
Handle Pan action
The context data of the event
The Directions being panned in
Compares two Keybinding Actions based on their Order
The first Keybinding Action
the second Keybinding Action
A helper method that, when given a value, ensures that the returned value is a standardized Binding array
An array of keybinding assignments to be validated
An array of keybinding assignments confirmed as valid
Validate that assigned modifiers are allowed
An array of modifiers which may be valid
An array of modifiers which are confirmed as valid
Handle Select all action
The originating keyboard event
The context data of the event
Handle Cycle View actions
The context data of the event
Handle Dismiss actions
The context data of the event
Open Character sheet for current token or controlled actor
The context data of the event
Handle action to target the currently hovered token.
The context data of the event
Handle DELETE Keypress Events
The originating keyboard event
The context data of the event
Handle Measured Ruler Movement Action
The context data of the event
Handle Pause Action
The context data of the event
Handle Highlight action
The context data of the event
Handle Macro executions
The context data of the event
Handle Macro page swaps
The context data of the event
Handle action to copy data to clipboard
The context data of the event
Handle Paste action
The context data of the event
Handle Undo action
The context data of the event
Handle presses to keyboard zoom keys
The context data of the event
The direction to zoom
Bring the chat window into view and focus the input
The context data of the event
A class responsible for managing defined game keybinding. Each keybinding is a string key/value pair belonging to a certain namespace and a certain store scope.
When Foundry Virtual Tabletop is initialized, a singleton instance of this class is constructed within the global Game object as as game.keybindings.
{@link Game#keybindings}
{@link SettingKeybindingConfig}
KeybindingsConfig