Ejemplo n.º 1
0
func GameControllerOpen(joystick_index int) *GameController {
	_joystick_index := (C.int)(joystick_index)
	return (*GameController)(unsafe.Pointer(C.SDL_GameControllerOpen(_joystick_index)))
}
Ejemplo n.º 2
0
// GameControllerOpen (https://wiki.libsdl.org/SDL_GameControllerOpen)
func GameControllerOpen(index int) *GameController {
	return (*GameController)(unsafe.Pointer(C.SDL_GameControllerOpen(C.int(index))))
}