func (h *Haptic) SetGain(gain int) int { return int(C.SDL_HapticSetGain(h.cptr(), C.int(gain))) }
func (haptic *Haptic) SetGain(gain int) int { _haptic := (*C.SDL_Haptic)(unsafe.Pointer(haptic)) _gain := (C.int)(gain) return (int)(C.SDL_HapticSetGain(_haptic, _gain)) }