Expand description
The Event enum and assorted supporting types.
Re-exports§
pub use crate::DeviceId;
Structs§
- Button
Id - Identifier for a specific button on some device.
- Keyboard
Input - Describes a keyboard input event.
- Modifiers
State - Represents the current state of the keyboard modifiers
- Physical
Position - A position represented in physical pixels.
- Touch
- Represents a touch event
Enums§
- Element
State - Describes the input state of a key.
- Event
- Represents raw hardware events that are not associated with any particular window.
- Force
- Describes the force of a touch event
- Mouse
Button - Describes a button of a mouse controller.
- Mouse
Scroll Delta - Describes a difference in the mouse scroll wheel state.
- Touch
Phase - Describes touch-screen input state.
- Virtual
KeyCode - Symbolic name for a keyboard key.