Extracted from Pike v8.0 release 164 as of 2018-07-18.
   

Method SDL.Joystick()->num_buttons()


Method num_buttons

int num_buttons()

Returns

The number of buttons available for this joystick.