token-genericParameter'>GlobalInputActionType</span>, <span class='token-genericParameter'>GlobalStateType</span>&gt;(<span class='token-externalParam'>inputAction</span> <span class='token-internalParam'>inputActionMap</span>: <span class='token-keyword'>@escaping</span> (GlobalInputActionType) -&gt; InputActionType?, <span class='token-externalParam'>state</span> <span class='token-internalParam'>stateMap</span>: <span class='token-keyword'>@escaping</span> (GlobalStateType) -&gt; StateType) -&gt; <a clas