Expand description
Event system and winit conversion for agpu.
Provides a unified event type and translates keyboard, mouse, window,
and text input events from winit into agpu’s own Event enum.
Structs§
- Drag
Drop Event - A drag-and-drop event.
- HitMap
- A hit-test map that resolves positions to widget IDs.
- KeyEvent
- A keyboard event.
- KeyModifiers
- Key modifier flags.
- Mouse
Event - A mouse event.
Enums§
- Drag
Drop Kind - The kind of drag-and-drop event.
- Drag
Payload - Data carried during a drag-and-drop operation.
- Event
- A GUI event.
- KeyCode
- Key code.
- KeyEvent
Kind - The kind of key event.
- Mouse
Button - Mouse button.
- Mouse
Event Kind - The kind of mouse event.
Functions§
- convert_
window_ event - Convert a single winit
WindowEventinto zero or more agpu events.