KeybindingEvent typedef

KeybindingEvent = void Function(Keybinding keybinding, bool pressed)

A callback that can be bound to a Keybinding.

Note: `void Function(bool pressed)` callbacks and callbacks without parameters can also be bound to Keybindings.

Implementation

typedef KeybindingEvent = void Function(Keybinding keybinding, bool pressed);