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§
- Action
Map - Maps action names to one or more raw input bindings (any bound input satisfies the action).
- Click
Event - Fired the frame a mouse button is pressed over a renderable entity.
- Runtime
Input - Held keys, mouse buttons, and cursor position for the current frame.
Enums§
- Input
Binding - A raw input source which can satisfy a named gameplay action.
- KeyCode
- Code representing the location of a physical key
- Mouse
Button - Describes a button of a mouse controller.
- PadButton
- A gamepad button, in the layout of an Xbox pad:
Southis A,EastB. Every connected pad feeds the same state. Each stick also acts as four buttons (LeftStickUp, …) that press past half tilt, so menus and digital actions can bind a stick. - Stick
- Which stick
RuntimeInput::stickreads.