KeyInputCallback typedef

KeyInputCallback = bool Function(int key, int modifiers, bool isPressed, bool isRepeat)

Callback type for key input handling.

Implementation

typedef KeyInputCallback = bool Function(
  int key,
  int modifiers,
  bool isPressed,
  bool isRepeat,
);