getAxisJoystick()

Returns the current state of an axis.

Syntax:
variable = getAxisJoystick( index , axis )

Example: