AbstractCalled once when the input becomes inactive. Override this to handle cleanup or end states.
Called when axes become active (move away from center).
The axis values as {x, y} or [x, y]
Called every frame with current axis values.
The axis values as {x, y} or [x, y]
Command for handling analog/axes input such as joysticks or WASD movement. Receives axis values representing direction and magnitude.
Lifecycle
Same as Command, but receives axis values:
trigger(axes)- Called when axes become active (moved from center)update(axes)- Called every frame with current axis valuesrelease()- Called when axes return to center/neutralExample