Beispiel #1
0
func (h *Haptic) NumEffects() int {
	return int(C.SDL_HapticNumEffects(h.cptr()))
}
Beispiel #2
0
func (haptic *Haptic) NumEffects() int {
	_haptic := (*C.SDL_Haptic)(unsafe.Pointer(haptic))
	return (int)(C.SDL_HapticNumEffects(_haptic))
}