示例#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()))
}