Module input

Source
Expand description

Input events and their translation into game-specific actions.

Structs§

ActionState
A rebindable action and its current state.
InputDeviceState
The main input interface for the game, created, and maintained in game code.
QueuedEvent
Input event that happened at some point in the past, waiting to be used as a trigger for an ActionState, or to be timed out.

Enums§

ActionKind
The button press pattern to be used to trigger a specific action.

Constants§

EVENT_QUEUE_TIMEOUT
The amount of time QueuedEvents are held in the EventQueue without being handled.

Type Aliases§

EventQueue
A queue of input events to be processed by InputDeviceState::update.