Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

Method SDL.Joystick()->num_balls()


Method num_balls

int num_balls()

Returns

The number of trackballs available for this joystick.