code: func (w *Window) JoystickButtonCount(js Joystick) int {
  	return len(w.currJoy.buttons[js])
  }
docs: // JoystickButtonCount returns the number of buttons a connected joystick has.
  //
  // This API is experimental.