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