예제 #1
0
func JoystickNameForIndex(device_index int) string {
	_device_index := (C.int)(device_index)
	return (C.GoString)(C.SDL_JoystickNameForIndex(_device_index))
}
예제 #2
0
파일: joystick.go 프로젝트: tanema/amore
// JoystickNameForIndex (https://wiki.libsdl.org/SDL_JoystickNameForIndex)
func JoystickNameForIndex(index int) string {
	return (C.GoString)(C.SDL_JoystickNameForIndex(C.int(index)))
}