Expand description
Events data.
Modules§
Structs§
- File
Data - Data of a Keyboard event.
- Keyboard
Data - Data of a Keyboard event.
- Modifiers
- Pressed modifier keys.
- Mouse
Data - Data of a Mouse event.
- Pointer
Data - Data of a Mouse event.
- Touch
Data - Data of a Touch event.
- Wheel
Data - Data of a Wheel event.
Enums§
- Code
- Code is the physical position of a key.
- Force
- Describes the force of a touch event
- Key
- Key represents the meaning of a keypress.
- Mouse
Button - Describes a button of a mouse controller.
- Pointer
Type - The type of device that triggered a Pointer event.
- Touch
Phase - Describes touch-screen input state.
Functions§
- map_
winit_ key - Return the equivalent Winit’s
Key
in keyboard_types - map_
winit_ modifiers - map_
winit_ physical_ key - Return the equivalent of Winit’s
PhysicalKey
in keyboard_types