Enum fui_system_core::Keycode
source · #[non_exhaustive]
pub enum Keycode {
Show 35 variants
Esc,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
PrintScreen,
ScrollLock,
Pause,
Insert,
Delete,
Home,
End,
PageUp,
PageDown,
Left,
Right,
Up,
Down,
Backspace,
Tab,
CapsLock,
Enter,
Shift,
Ctrl,
Alt,
Win,
NumLock,
}
Expand description
Keycode for the key that is not a printable key. If there are more than one variant of the same key (like left/right or keypad), you can use KeyModifiers to distinguish between them.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.