function NumJoyTrackBalls(joy_num)

Returns the number of trackballs detected on a joystick