Skip to main content

Module keyboard

Module keyboard 

Source
Expand description

Keyboard edge detection and text input buffering.

KeyboardManager turns per-frame key state from cotis_utils::interactivity::keyboard::SimpleKeyboardProvider into edge signals (press, release, hold). TextManager accumulates typed characters from cotis_utils::interactivity::keyboard::SimpleTextProvider.

Structsยง

KeyboardManager
Tracks keyboard key state and edge transitions across frames.
TextManager
FIFO buffer for typed characters from a text provider.