Skip to main content

Module event

Module event 

Source
Expand description

Re-exports of winit event types used throughout the Vertra public API.

Import from here rather than directly from winit so that the engine’s winit version stays in sync with all call sites.

Structs§

EventLoop
Provides a way to retrieve events from the system and from the windows that were registered to the events loop.
EventLoopWindowTarget
Target that associates windows with an EventLoop.
Modifiers
Describes keyboard modifiers event.

Enums§

ControlFlow
Set through EventLoopWindowTarget::set_control_flow().
DeviceEvent
Represents raw hardware events that are not associated with any particular window.
ElementState
Describes the input state of a key.
Event
Describes a generic event.
MouseButton
Describes a button of a mouse controller.
MouseScrollDelta
Describes a difference in the mouse scroll wheel state.
PhysicalKey
Represents the location of a physical key.
WindowEvent
Describes an event from a [Window].