InputPlugin
Defined in: plugins/input/InputPlugin.ts:38
Extends
Section titled “Extends”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InputPlugin(
id):InputPlugin
Defined in: plugins/Plugin.ts:48
Parameters
Section titled “Parameters”string = 'Plugin'
Returns
Section titled “Returns”InputPlugin
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”activeControllers
Section titled “activeControllers”activeControllers:
Set<string>
Defined in: plugins/input/InputPlugin.ts:46
Implementation of
Section titled “Implementation of”IInputPlugin.activeControllers
activeGamepads
Section titled “activeGamepads”activeGamepads:
Map<string,Gamepad>
Defined in: plugins/input/InputPlugin.ts:45
Implementation of
Section titled “Implementation of”controls
Section titled “controls”
readonlycontrols:Controls
Defined in: plugins/input/InputPlugin.ts:42
Implementation of
Section titled “Implementation of”
readonlyid:"input"='input'
Defined in: plugins/input/InputPlugin.ts:39
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”onControllerActivated
Section titled “onControllerActivated”onControllerActivated:
Signal<(controller) =>void>
Defined in: plugins/input/InputPlugin.ts:50
Implementation of
Section titled “Implementation of”IInputPlugin.onControllerActivated
onControllerDeactivated
Section titled “onControllerDeactivated”onControllerDeactivated:
Signal<(controller) =>void>
Defined in: plugins/input/InputPlugin.ts:51
Implementation of
Section titled “Implementation of”IInputPlugin.onControllerDeactivated
onGamepadConnected
Section titled “onGamepadConnected”onGamepadConnected:
Signal<(gamepad) =>void>
Defined in: plugins/input/InputPlugin.ts:48
Implementation of
Section titled “Implementation of”IInputPlugin.onGamepadConnected
onGamepadDisconnected
Section titled “onGamepadDisconnected”onGamepadDisconnected:
Signal<(gamepad) =>void>
Defined in: plugins/input/InputPlugin.ts:49
Implementation of
Section titled “Implementation of”IInputPlugin.onGamepadDisconnected
Accessors
Section titled “Accessors”actionsPlugin
Section titled “actionsPlugin”Get Signature
Section titled “Get Signature”get actionsPlugin():
IActionsPlugin
Defined in: plugins/input/InputPlugin.ts:165
Returns
Section titled “Returns”Get Signature
Section titled “Get Signature”get app():
Application
Defined in: plugins/Plugin.ts:52
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”options
Section titled “options”Get Signature
Section titled “Get Signature”get options():
O
Defined in: plugins/Plugin.ts:44
Returns
Section titled “Returns”O
Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”addSignalConnection()
Section titled “addSignalConnection()”addSignalConnection(…
args):void
Defined in: plugins/Plugin.ts:78
Add signal connections to the container.
Parameters
Section titled “Parameters”…SignalConnection[]
The signal connections to add.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IInputPlugin.addSignalConnection
Inherited from
Section titled “Inherited from”clearSignalConnections()
Section titled “clearSignalConnections()”clearSignalConnections():
void
Defined in: plugins/Plugin.ts:84
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IInputPlugin.clearSignalConnections
Inherited from
Section titled “Inherited from”destroy()
Section titled “destroy()”destroy():
void
Defined in: plugins/input/InputPlugin.ts:78
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”initialize()
Section titled “initialize()”initialize(
options,app):Promise<void>
Defined in: plugins/input/InputPlugin.ts:57
Parameters
Section titled “Parameters”options
Section titled “options”Partial<InputManagerOptions> = defaultOptions
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”isActionActive()
Section titled “isActionActive()”isActionActive(
action):boolean
Defined in: plugins/input/InputPlugin.ts:53
Parameters
Section titled “Parameters”action
Section titled “action”Returns
Section titled “Returns”boolean
Implementation of
Section titled “Implementation of”isControllerActive()
Section titled “isControllerActive()”isControllerActive(
controller):boolean
Defined in: plugins/input/InputPlugin.ts:89
Parameters
Section titled “Parameters”controller
Section titled “controller”Returns
Section titled “Returns”boolean
Implementation of
Section titled “Implementation of”IInputPlugin.isControllerActive
isGamepadActive()
Section titled “isGamepadActive()”isGamepadActive(
gamepad):boolean
Defined in: plugins/input/InputPlugin.ts:93
Parameters
Section titled “Parameters”gamepad
Section titled “gamepad”Gamepad
Returns
Section titled “Returns”boolean
Implementation of
Section titled “Implementation of”postInitialize()
Section titled “postInitialize()”postInitialize():
void
Defined in: plugins/input/InputPlugin.ts:72
Returns
Section titled “Returns”void