A shortcut for binding input.
A shortcut for binding input. Shortcuts are commonly used for interacting with a [Control] element from a [InputEvent].
Returns the shortcut's [InputEvent] as a [String].
Returns [code]true[/code] if the shortcut's [InputEvent] equals [code]event[/code].
If [code]true[/code], this shortcut is valid.
- The shortcut's [InputEvent]. Generally the [InputEvent] is a keyboard key, though it can be any [InputEvent].