@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / gamepadButtonLabel
Function: gamepadButtonLabel() ​
ts
function gamepadButtonLabel(family, button): string;Defined in: input/gamepad.ts:101
What a button is called on this kind of pad: "A", "Cross", "RT", "Options".
Parameters ​
| Parameter | Type |
|---|---|
family | GamepadFamily |
button | string | number |
Returns ​
string

