numButtonsJoystick()

Returns the number of joysitck buttons.

Syntax:
variable = numButtonsJoystick( index )

Example: