Skip to main content

Module keyboard

Module keyboard 

Available on crate feature winit only.
Expand description

Types related to the keyboard.

Structs§

ModifiersState
Represents the current state of the keyboard modifiers
SmolStr
A SmolStr is a string type that has the following properties:

Enums§

Key
Key represents the meaning of a keypress.
KeyCode
Code representing the location of a physical key
KeyLocation
The location of the key on the keyboard.
ModifiersKeyState
The state of the particular modifiers key.
NamedKey
A Key::Named value
NativeKey
Contains the platform-native logical key identifier
NativeKeyCode
Contains the platform-native physical key identifier
PhysicalKey
Represents the location of a physical key.