예제 #1
0
func (joystick *Joystick) GetGUID() JoystickGUID {
	_joystick := (*C.SDL_Joystick)(joystick)
	return (JoystickGUID)(C.SDL_JoystickGetGUID(_joystick))
}
예제 #2
0
파일: joystick.go 프로젝트: tanema/amore
// Joystick (https://wiki.libsdl.org/SDL_JoystickGetGUID)
func (joy *Joystick) GetGUID() JoystickGUID {
	return (JoystickGUID)(C.SDL_JoystickGetGUID(joy.cptr()))
}