Exemple #1
0
func HapticOpen(index int) *Haptic {
	return (*Haptic)(unsafe.Pointer(C.SDL_HapticOpen(C.int(index))))
}
Exemple #2
0
func HapticOpen(device_index int) *Haptic {
	_device_index := (C.int)(device_index)
	return (*Haptic)(unsafe.Pointer(C.SDL_HapticOpen(_device_index)))
}