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