// Get the number of buttons on a joystick func (joystick *Joystick) NumButtons() int { return int(C.SDL_JoystickNumButtons(joystick.cJoystick)) }
func (joystick *Joystick) NumButtons() int { _joystick := (*C.SDL_Joystick)(joystick) return (int)(C.SDL_JoystickNumButtons(_joystick)) }
func (j *Joystick) NumButtons() int { return int(C.SDL_JoystickNumButtons((*C.SDL_Joystick)(unsafe.Pointer(j)))) }
// Joystick (https://wiki.libsdl.org/SDL_JoystickNumButtons) func (joy *Joystick) NumButtons() int { return (int)(C.SDL_JoystickNumButtons(joy.cptr())) }
// Get the number of buttons on a joystick func JoystickNumButtons(joystick *C.SDL_Joystick) int { return int(C.SDL_JoystickNumButtons(joystick)) }