NumJoyTrackBalls ( joy_num )

Returns the number of track balls on a joystick.

Example: