Example #1
0
func GameControllerNameForIndex(joystick_index int) string {
	_joystick_index := (C.int)(joystick_index)
	return (C.GoString)(C.SDL_GameControllerNameForIndex(_joystick_index))
}
Example #2
0
// GameControllerNameForIndex (https://wiki.libsdl.org/SDL_GameControllerNameForIndex)
func GameControllerNameForIndex(index int) string {
	return C.GoString(C.SDL_GameControllerNameForIndex(C.int(index)))
}