Skip to content

defineControls

defineControls<U, B>(actions, buttons, controls?): UserControls<U, B>

Defined in: plugins/input/methods.ts:3

Type Parameters

U extends Partial<ActionMap<UserContexts>> = Partial<ActionMap<UserContexts>>

B extends UserButtons = UserButtons

Parameters

actions

U

buttons

B

controls?

UserControls<U, B>

Returns

UserControls<U, B>