Module keyboard

Source
Expand description

Keyboard keys, modifiers, and transition payloads.

§Examples

use ailloli_ui_core::event::keyboard::KeyState;
assert_ne!(KeyState::Pressed, KeyState::Released);

Platform-neutral keyboard keys, modifiers, and event payloads.

Structs§

KeyEvent
Keyboard input event in logical coordinates.
Modifiers
Modifier keys held during a keyboard or pointer event.

Enums§

Key
Platform-neutral key representation.
KeyState
Press or release phase of a key event.
NamedKey
Well-known keys with stable names (arrows, editing keys, function keys).