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