numBallsJoystick()

Returns the number of joystick trackballs.

Syntax:
variable = numBallsJoystick( index )

Example: