Skip to content

KeyboardControls

Defined in: plugins/input/keyboard/KeyboardContols.ts:9

Extends

Constructors

new KeyboardControls()

new KeyboardControls(): KeyboardControls

Defined in: plugins/input/keyboard/KeyboardContols.ts:19

Returns

KeyboardControls

Overrides

WithSignals(AbstractControls).constructor

Properties

signalConnections

signalConnections: SignalConnections

Defined in: mixins/signals.ts:9

Inherited from

WithSignals(AbstractControls).signalConnections

Accessors

app

Get Signature

get app(): Application

Defined in: plugins/input/keyboard/KeyboardContols.ts:24

Returns

Application

Overrides

WithSignals(AbstractControls).app

Methods

addSignalConnection()

addSignalConnection(…args): void

Defined in: mixins/signals.ts:13

Parameters

args

SignalConnection[]

Returns

void

Inherited from

WithSignals(AbstractControls).addSignalConnection


connect()

connect(): void

Defined in: plugins/input/keyboard/KeyboardContols.ts:49

Returns

void


connectAction()

connectAction(…args): void

Defined in: mixins/signals.ts:15

Parameters

args

SignalConnection[]

Returns

void

Inherited from

WithSignals(AbstractControls).connectAction


connectSignal()

connectSignal(…args): void

Defined in: mixins/signals.ts:14

Parameters

args

SignalConnection[]

Returns

void

Inherited from

WithSignals(AbstractControls).connectSignal


destroy()

destroy(options?): void

Defined in: mixins/signals.ts:11

Parameters

options?

DestroyOptions

Returns

void

Inherited from

WithSignals(AbstractControls).destroy


initialize()

initialize(scheme): void

Defined in: plugins/input/keyboard/KeyboardContols.ts:42

Parameters

scheme

Partial<KeyboardControlsMap>

Returns

void

Overrides

WithSignals(AbstractControls).initialize


isActionActive()

isActionActive(action): boolean

Defined in: plugins/input/keyboard/KeyboardContols.ts:28

Parameters

action

Action

Returns

boolean