Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / gamepadButtonSymbol

Function: gamepadButtonSymbol() ​

ts
function gamepadButtonSymbol(family, button): string;

Defined in: input/gamepad.ts:107

The shortest mark for a prompt: "✕" on PlayStation, "A" on Xbox.

Parameters ​

ParameterType
familyGamepadFamily
buttonstring | number

Returns ​

string