Skip to main content

Module input

Module input 

Source
Expand description

Runtime-side input capture and named action mapping.

RuntimeInput holds raw keyboard and mouse state for gameplay systems. Window integrations record raw events into it and clear edge state once per rendered frame after gameplay systems have had a chance to read it.

Structs§

ActionMap
Maps action names to one or more raw input bindings (any bound input satisfies the action).
ClickEvent
Fired the frame a mouse button is pressed over a renderable entity.
RuntimeInput
Held keys, mouse buttons, and cursor position for the current frame.

Enums§

InputBinding
A raw input source which can satisfy a named gameplay action.
KeyCode
Code representing the location of a physical key
MouseButton
Describes a button of a mouse controller.