Exemple #1
0
func JoystickNameForIndex(device_index int) string {
	_device_index := (C.int)(device_index)
	return (C.GoString)(C.SDL_JoystickNameForIndex(_device_index))
}
Exemple #2
0
// JoystickNameForIndex (https://wiki.libsdl.org/SDL_JoystickNameForIndex)
func JoystickNameForIndex(index int) string {
	return (C.GoString)(C.SDL_JoystickNameForIndex(C.int(index)))
}