InputPlugin
Defined in: plugins/input/InputPlugin.ts:39
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”__dill_pixel_method_binding_root
Section titled “__dill_pixel_method_binding_root”__dill_pixel_method_binding_root:
boolean
Defined in: plugins/Plugin.ts:39
Inherited from
Section titled “Inherited from”Plugin
.__dill_pixel_method_binding_root
activeControllers
Section titled “activeControllers”activeControllers:
Set
<string
>
Defined in: plugins/input/InputPlugin.ts:47
Implementation of
Section titled “Implementation of”IInputPlugin
.activeControllers
activeGamepads
Section titled “activeGamepads”activeGamepads:
Map
<string
,Gamepad
>
Defined in: plugins/input/InputPlugin.ts:46
Implementation of
Section titled “Implementation of”controls
Section titled “controls”
readonly
controls:Controls
Defined in: plugins/input/InputPlugin.ts:43
Implementation of
Section titled “Implementation of”
readonly
id:"input"
='input'
Defined in: plugins/input/InputPlugin.ts:40
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”onControllerActivated
Section titled “onControllerActivated”onControllerActivated:
Signal
<(controller
) =>void
>
Defined in: plugins/input/InputPlugin.ts:51
Implementation of
Section titled “Implementation of”IInputPlugin
.onControllerActivated
onControllerDeactivated
Section titled “onControllerDeactivated”onControllerDeactivated:
Signal
<(controller
) =>void
>
Defined in: plugins/input/InputPlugin.ts:52
Implementation of
Section titled “Implementation of”IInputPlugin
.onControllerDeactivated
onGamepadConnected
Section titled “onGamepadConnected”onGamepadConnected:
Signal
<(gamepad
) =>void
>
Defined in: plugins/input/InputPlugin.ts:49
Implementation of
Section titled “Implementation of”IInputPlugin
.onGamepadConnected
onGamepadDisconnected
Section titled “onGamepadDisconnected”onGamepadDisconnected:
Signal
<(gamepad
) =>void
>
Defined in: plugins/input/InputPlugin.ts:50
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:166
Returns
Section titled “Returns”Get Signature
Section titled “Get Signature”get app():
A
Defined in: plugins/Plugin.ts:53
Returns
Section titled “Returns”A
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:79
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:85
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:79
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:58
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:54
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:90
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:94
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:73
Returns
Section titled “Returns”void