numAxesJoystick()

Returns the number of joystick axes.

Syntax:
variable = numAxesJoystick( index )

Example: