classafGamepad::GamepadEvent
sys::Obj afGamepad::GamepadEvent
Fired when the Gamepad input values change.
- axesValues
GamepadAxis:Float axesValues
Thumbstick values that have been normalised between -1 and 1.
-1 means fully left / up. 1 means fully right / down.
GamepadButton:Float buttonValues
Analogue button values that have been normalised between 0 and 1.
0 means not pressed, 1 means fully pressed.
GamepadButton[] buttonsDown
A list of buttons whose analogue values are more than the Gamepad
buttonThreshold
.GamepadButton[] buttonsUp
A list of buttons whose analogue values are less than the Gamepad
buttonThreshold
.- gamepad
Gamepad gamepad
The owning Gamepad instance.