defineControls
defineControls<
U
,B
>(actions
,buttons
,controls?
):UserControls
<U
,B
>
Defined in: plugins/input/methods.ts:3
Type Parameters
Section titled “Type Parameters”U
extends Partial
<ActionMap
<UserContexts
>> = Partial
<ActionMap
<UserContexts
>>
B
extends UserButtons
= UserButtons
Parameters
Section titled “Parameters”actions
Section titled “actions”U
buttons
Section titled “buttons”B
controls?
Section titled “controls?”UserControls
<U
, B
>
Returns
Section titled “Returns”UserControls
<U
, B
>