Header menu logo Mibo.Raylib

InputMapper Module

Functions and values

Function or value Description

getService ctx

Full Usage: getService ctx

Parameters:
Returns: IInputMapper<'Action>
ctx : GameContext
Returns: IInputMapper<'Action>

subscribe getMap toMsg ctx

Full Usage: subscribe getMap toMsg ctx

Parameters:
Returns: Sub<'Msg>
getMap : unit -> InputMap<'Action>
toMsg : ActionState<'Action> -> 'Msg
ctx : GameContext
Returns: Sub<'Msg>

subscribeStatic map toMsg ctx

Full Usage: subscribeStatic map toMsg ctx

Parameters:
Returns: Sub<'Msg>
map : InputMap<'Action>
toMsg : ActionState<'Action> -> 'Msg
ctx : GameContext
Returns: Sub<'Msg>

tryGetService ctx

Full Usage: tryGetService ctx

Parameters:
Returns: IInputMapper<'Action> voption
ctx : GameContext
Returns: IInputMapper<'Action> voption

Type something to start searching.