Skip to main content

Class: GamepadsRegistry

Defined in: livelink.js/sources/inputs/GamepadsRegistry.ts:14

Registry for managing gamepads in the Livelink instance.

It handles the connection and disconnection of physical gamepads, and provides a safe way to create virtual gamepads that don't conflict with physical gamepads.

Extends

  • InputDevice

Methods

createVirtualGamepad()

createVirtualGamepad(): GamepadInputRelay;

Defined in: livelink.js/sources/inputs/GamepadsRegistry.ts:47

Experimental

Returns

GamepadInputRelay


_onEnable()

protected _onEnable(): boolean;

Defined in: livelink.js/sources/inputs/GamepadsRegistry.ts:60

Returns

boolean

Overrides

InputDevice._onEnable;

_onDisable()

protected _onDisable(): void;

Defined in: livelink.js/sources/inputs/GamepadsRegistry.ts:85

Returns

void

Overrides

InputDevice._onDisable;