Exemple #1
0
func HapticOpenFromJoystick(joy *Joystick) *Haptic {
	return (*Haptic)(unsafe.Pointer(C.SDL_HapticOpenFromJoystick(joy.cptr())))
}
Exemple #2
0
func HapticOpenFromJoystick(joystick *Joystick) *Haptic {
	_joystick := (*C.SDL_Joystick)(joystick)
	return (*Haptic)(unsafe.Pointer(C.SDL_HapticOpenFromJoystick(_joystick)))
}