classafGamepad::GamepadEvent

sys::Obj
  afGamepad::GamepadEvent

Fired when the Gamepad input values change.

axesValues

Source

GamepadAxis:Float axesValues

Thumbstick values that have been normalised between -1 and 1.

-1 means fully left / up. 1 means fully right / down.

buttonValues

Source

GamepadButton:Float buttonValues

Analogue button values that have been normalised between 0 and 1.

0 means not pressed, 1 means fully pressed.

buttonsDown

Source

GamepadButton[] buttonsDown

A list of buttons whose analogue values are more than the Gamepad buttonThreshold.

buttonsUp

Source

GamepadButton[] buttonsUp

A list of buttons whose analogue values are less than the Gamepad buttonThreshold.

gamepad

Source

Gamepad gamepad

The owning Gamepad instance.