Interface: InputManagerEventsMap

Phaser.Types.Input. InputManagerEventsMap

Methods


boot()

The Input Manager Boot Event.

This internal event is dispatched by the Input Manager when it boots.

Since: 3.0.0
Source: src/input/events/MANAGER_BOOT_EVENT.js (Line 17)

pointerlockchange(event, locked)

The Input Manager Pointer Lock Change Event.

This event is dispatched by the Input Manager when it is processing a native Pointer Lock Change DOM Event.

Parameters:
Name Type Description
event Event

The native DOM Event.

locked boolean

The locked state of the Mouse Pointer.

Since: 3.0.0
Source: src/input/events/POINTERLOCK_CHANGE_EVENT.js (Line 20)

process(time, delta)

The Input Manager Process Event.

This internal event is dispatched by the Input Manager when not using the legacy queue system, and it wants the Input Plugins to update themselves.

Parameters:
Name Type Description
time number

The current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or Date.now if using SetTimeout.

delta number

The delta time in ms since the last frame. This is a smoothed and capped value based on the FPS rate.

Since: 3.0.0
Source: src/input/events/MANAGER_PROCESS_EVENT.js (Line 21)

update()

The Input Manager Update Event.

This internal event is dispatched by the Input Manager as part of its update step.

Since: 3.0.0
Source: src/input/events/MANAGER_UPDATE_EVENT.js (Line 17)