OptionalshiftIndicates whether the Shift key must be pressed for the action to be triggered.
OptionalctrlIndicates whether the Control key must be pressed for the action to be triggered.
OptionalaltIndicates whether the Alt key must be pressed for the action to be triggered.
OptionalmetaIndicates whether the Meta key (Command on Mac, Windows key on Windows) must be pressed for the action to be triggered.
OptionalhelpA brief description of the action, which can be used for tooltips or documentation purposes.
Optionalaction_An optional identifier for the action, which can be used to reference predefined actions in the system. If provided, this ID should correspond to a valid action in the system's action registry.
The action to be performed when the specified key is pressed. This can be a function that executes the desired behavior or a string that references a predefined action.
The key code associated with the action, which can be a string representing a single character (e.g., 'A', 'B', 'C') or a special key identifier (e.g., 'Enter', 'Escape').