GamepadAxisEvent
Hierarchy
Index
Constructors
constructor
Parameters
axis: Axes
The Gamepad axis
value: number
A numeric value between -1 and 1
self: Gamepad
Reference to the gamepad
Returns GamepadAxisEvent
Properties
publicaxis
The Gamepad Axis
publicinheritedother
Other target object for this event
publicself
Reference to the gamepad
publicinheritedtarget
Target object for this event.
publicvalue
A numeric value between -1 and 1, 0 is the neutral axis position.
Accessors
publicinheritedbubbles
If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.
Returns boolean
Parameters
value: boolean
Returns void
Methods
publicinheritedstopPropagation
Prevents event from bubbling
Returns void
Gamepad axis event. See Gamepads for information on responding to controller input. Gamepad instances receive this event;