InputMapper Module
Functions and values
| Function or value |
Description
|
Full Usage:
subscribe getMap toMsg ctx
Parameters:
unit -> InputMap<'Action>
toMsg : ActionState<'Action> -> 'Msg
ctx : GameContext
Returns: Sub<'Msg>
|
Elmish subscription that builds an ActionState from the registered IInput observables and the supplied map. Backend-neutral apart from the "is key down" poller, which calls raylib.
|
Full Usage:
subscribeStatic map toMsg ctx
Parameters:
InputMap<'Action>
toMsg : ActionState<'Action> -> 'Msg
ctx : GameContext
Returns: Sub<'Msg>
|
Elmish subscription variant for a fixed (non-changing) InputMap.
|
Mibo