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