Input Module
Factory and service access for the core input polling component.
Functions and values
| Function or value |
Description
|
|
Creates an input component that polls hardware each frame. The component implements both IGameComponent (for the MonoGame lifecycle) and IInput (for reactive input access). Normally called internally by Program.withInput.
|
|
Gets the IInput service from the game context. Throws if the service is not registered. Use Program.withInput to ensure registration.
|
|
Attempts to get the IInput service from the game context. Returns ValueNone if the service is not registered (i.e., Program.withInput wasn't used).
|
Mibo