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