Skip to content

IInputPlugin

Defined in: plugins/input/InputPlugin.ts:17

Extends

Properties

activeControllers

activeControllers: Set<string>

Defined in: plugins/input/InputPlugin.ts:20


activeGamepads

activeGamepads: Map<string, Gamepad>

Defined in: plugins/input/InputPlugin.ts:19


app

app: IApplication

Defined in: plugins/Plugin.ts:10

Inherited from

IPlugin.app


controls

readonly controls: Controls

Defined in: plugins/input/InputPlugin.ts:18


id

id: string

Defined in: plugins/Plugin.ts:8

Inherited from

IPlugin.id


onControllerActivated

onControllerActivated: Signal<(controller) => void>

Defined in: plugins/input/InputPlugin.ts:24


onControllerDeactivated

onControllerDeactivated: Signal<(controller) => void>

Defined in: plugins/input/InputPlugin.ts:25


onGamepadConnected

onGamepadConnected: Signal<(gamepad) => void>

Defined in: plugins/input/InputPlugin.ts:22


onGamepadDisconnected

onGamepadDisconnected: Signal<(gamepad) => void>

Defined in: plugins/input/InputPlugin.ts:23


options

options: InputManagerOptions

Defined in: plugins/input/InputPlugin.ts:21

Methods

addSignalConnection()

addSignalConnection(…args): void

Defined in: plugins/Plugin.ts:18

Parameters

args

SignalConnection[]

Returns

void

Inherited from

IPlugin.addSignalConnection


clearSignalConnections()

clearSignalConnections(): void

Defined in: plugins/Plugin.ts:20

Returns

void

Inherited from

IPlugin.clearSignalConnections


destroy()

destroy(): void

Defined in: plugins/Plugin.ts:16

Returns

void

Inherited from

IPlugin.destroy


initialize()

initialize(_app, options?): void | Promise<void>

Defined in: plugins/Plugin.ts:12

Parameters

_app

IApplication

options?

any

Returns

void | Promise<void>

Inherited from

IPlugin.initialize


isActionActive()

isActionActive(action): boolean

Defined in: plugins/input/InputPlugin.ts:31

Parameters

action

Action

Returns

boolean


isControllerActive()

isControllerActive(controller): boolean

Defined in: plugins/input/InputPlugin.ts:27

Parameters

controller

InputController

Returns

boolean


isGamepadActive()

isGamepadActive(gamepad): boolean

Defined in: plugins/input/InputPlugin.ts:29

Parameters

gamepad

Gamepad

Returns

boolean


postInitialize()

postInitialize(_app): void | Promise<void>

Defined in: plugins/Plugin.ts:14

Parameters

_app

IApplication

Returns

void | Promise<void>

Inherited from

IPlugin.postInitialize


registerCoreFunctions()

registerCoreFunctions(): void

Defined in: plugins/Plugin.ts:22

Returns

void

Inherited from

IPlugin.registerCoreFunctions


registerCoreSignals()

registerCoreSignals(): void

Defined in: plugins/Plugin.ts:24

Returns

void

Inherited from

IPlugin.registerCoreSignals