func IsGameController(joystick_index int) bool {
	_joystick_index := (C.int)(joystick_index)
	return C.SDL_IsGameController(_joystick_index) > 0
}
Exemple #2
0
// IsGameController (https://wiki.libsdl.org/SDL_IsGameController)
func IsGameController(index int) bool {
	return C.SDL_IsGameController(C.int(index)) > 0
}