Skip to content

IKeyboardPlugin

Defined in: plugins/KeyboardPlugin.ts:11

Extends

Properties

app

app: IApplication

Defined in: plugins/Plugin.ts:10

Inherited from

IPlugin.app


enabled

enabled: boolean

Defined in: plugins/KeyboardPlugin.ts:12


id

id: string

Defined in: plugins/Plugin.ts:8

Inherited from

IPlugin.id


keysDown

readonly keysDown: Set<string>

Defined in: plugins/KeyboardPlugin.ts:13

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


isKeyDown()

isKeyDown(key): boolean

Defined in: plugins/KeyboardPlugin.ts:19

Parameters

key

string

Returns

boolean


onKeyDown()

onKeyDown(key?): KeySignal

Defined in: plugins/KeyboardPlugin.ts:15

Parameters

key?

KeyboardKey

Returns

KeySignal


onKeyUp()

onKeyUp(key?): KeySignal

Defined in: plugins/KeyboardPlugin.ts:17

Parameters

key?

KeyboardKey

Returns

KeySignal


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