InputPlugin
Defined in: plugins/input/InputPlugin.ts:38
Extends
Implements
Constructors
new InputPlugin()
new InputPlugin(
id
):InputPlugin
Defined in: plugins/Plugin.ts:40
Parameters
id
string
= 'Plugin'
Returns
Inherited from
Properties
__dill_pixel_method_binding_root
__dill_pixel_method_binding_root:
boolean
Defined in: plugins/Plugin.ts:37
Inherited from
Plugin
.__dill_pixel_method_binding_root
activeControllers
activeControllers:
Set
<string
>
Defined in: plugins/input/InputPlugin.ts:46
Implementation of
IInputPlugin
.activeControllers
activeGamepads
activeGamepads:
Map
<string
,Gamepad
>
Defined in: plugins/input/InputPlugin.ts:45
Implementation of
controls
readonly
controls:Controls
Defined in: plugins/input/InputPlugin.ts:42
Implementation of
id
readonly
id:"input"
='input'
Defined in: plugins/input/InputPlugin.ts:39
Implementation of
Overrides
onControllerActivated
onControllerActivated:
Signal
<(controller
) =>void
>
Defined in: plugins/input/InputPlugin.ts:51
Implementation of
IInputPlugin
.onControllerActivated
onControllerDeactivated
onControllerDeactivated:
Signal
<(controller
) =>void
>
Defined in: plugins/input/InputPlugin.ts:52
Implementation of
IInputPlugin
.onControllerDeactivated
onGamepadConnected
onGamepadConnected:
Signal
<(gamepad
) =>void
>
Defined in: plugins/input/InputPlugin.ts:49
Implementation of
IInputPlugin
.onGamepadConnected
onGamepadDisconnected
onGamepadDisconnected:
Signal
<(gamepad
) =>void
>
Defined in: plugins/input/InputPlugin.ts:50
Implementation of
IInputPlugin
.onGamepadDisconnected
options
options:
InputManagerOptions
Defined in: plugins/input/InputPlugin.ts:47
Implementation of
Accessors
actionsPlugin
Get Signature
get actionsPlugin():
IActionsPlugin
Defined in: plugins/input/InputPlugin.ts:166
Returns
app
Get Signature
get app():
T
Defined in: plugins/Plugin.ts:45
Returns
T
Implementation of
Inherited from
Methods
addSignalConnection()
addSignalConnection(…
args
):void
Defined in: plugins/Plugin.ts:71
Add signal connections to the container.
Parameters
args
…SignalConnection
[]
The signal connections to add.
Returns
void
Implementation of
IInputPlugin
.addSignalConnection
Inherited from
clearSignalConnections()
clearSignalConnections():
void
Defined in: plugins/Plugin.ts:77
Returns
void
Implementation of
IInputPlugin
.clearSignalConnections
Inherited from
destroy()
destroy():
void
Defined in: plugins/input/InputPlugin.ts:79
Returns
void
Implementation of
Overrides
initialize()
initialize(
app
,options
):Promise
<void
>
Defined in: plugins/input/InputPlugin.ts:58
Parameters
app
options
InputManagerOptions
= defaultOptions
Returns
Promise
<void
>
Implementation of
Overrides
isActionActive()
isActionActive(
action
):boolean
Defined in: plugins/input/InputPlugin.ts:54
Parameters
action
Returns
boolean
Implementation of
isControllerActive()
isControllerActive(
controller
):boolean
Defined in: plugins/input/InputPlugin.ts:90
Parameters
controller
Returns
boolean
Implementation of
IInputPlugin
.isControllerActive
isGamepadActive()
isGamepadActive(
gamepad
):boolean
Defined in: plugins/input/InputPlugin.ts:94
Parameters
gamepad
Gamepad
Returns
boolean
Implementation of
postInitialize()
postInitialize():
void
Defined in: plugins/input/InputPlugin.ts:73
Returns
void