Type Alias: GamepadButtonCallback()
GamepadButtonCallback = (
button,gamepad) =>void
Defined in: src/interaction/GamepadInput.ts:86
A gamepad button callback. button is the resolved button index.
Parameters
button
number
gamepad
GamepadLike | null
Returns
void