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
controls
readonly
controls:Controls
Defined in: plugins/input/InputPlugin.ts:18
id
id:
string
Defined in: plugins/Plugin.ts:8
Inherited from
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
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
initialize()
initialize(
_app
,options
?):void
|Promise
<void
>
Defined in: plugins/Plugin.ts:12
Parameters
_app
options?
any
Returns
void
| Promise
<void
>
Inherited from
isActionActive()
isActionActive(
action
):boolean
Defined in: plugins/input/InputPlugin.ts:31
Parameters
action
Returns
boolean
isControllerActive()
isControllerActive(
controller
):boolean
Defined in: plugins/input/InputPlugin.ts:27
Parameters
controller
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
Returns
void
| Promise
<void
>
Inherited from
registerCoreFunctions()
registerCoreFunctions():
void
Defined in: plugins/Plugin.ts:22
Returns
void
Inherited from
registerCoreSignals()
registerCoreSignals():
void
Defined in: plugins/Plugin.ts:24
Returns
void