Beispiel #1
0
func (h *Haptic) StopEffect(effect int) int {
	return int(C.SDL_HapticStopEffect(h.cptr(), C.int(effect)))
}
Beispiel #2
0
func (haptic *Haptic) StopEffect(effect int) int {
	_haptic := (*C.SDL_Haptic)(unsafe.Pointer(haptic))
	_effect := (C.int)(effect)
	return (int)(C.SDL_HapticStopEffect(_haptic, _effect))
}