keybinder library

A utility class used to bind callbacks to a combination of one or more physical keys on a keyboard; utilizing the global RawKeyboard instance.

Classes

Keybinder
A utility class used to bind callbacks to a combination of one or more physical keys on a keyboard; utilizing the global HardwareKeyboard instance.
Keybinding
A set of KeyCodes used to bind callbacks to a combination of zero or more keys on a keyboard. See: Keybinder
KeyCode
A set of keyIds representing a single abstract key.

Typedefs

KeybindingEvent = void Function(Keybinding keybinding, bool pressed)
A callback that can be bound to a Keybinding.