Exemplo n.º 1
0
func (gamecontroller *GameController) GetAttached() bool {
	_gamecontroller := (*C.SDL_GameController)(unsafe.Pointer(gamecontroller))
	return C.SDL_GameControllerGetAttached(_gamecontroller) > 0
}
Exemplo n.º 2
0
// GameController (https://wiki.libsdl.org/SDL_GameControllerGetAttached)
func (ctrl *GameController) GetAttached() bool {
	return C.SDL_GameControllerGetAttached(ctrl.cptr()) > 0
}