Skip to content

@relu-interactives/spatial-ecs


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

Function: gamepadFamily() ​

ts
function gamepadFamily(id): GamepadFamily;

Defined in: input/gamepad.ts:77

Which family a pad belongs to, from Gamepad.id.

Parameters ​

ParameterType
idstring

Returns ​

GamepadFamily