#15543
dudleydes
Participant

You need to comment out lines 168-174. I did this by adding double forward slashes (//) at the beginning of each line of code which should turn blue as you edit. My code looks as below

//	if (SDL_JoystickNumAxes(myjoy) > 6)
//	{
//		SDL_JoystickClose(myjoy);
//		myjoy=0;
//		logerror("Error detected invalid joystick/keyboard\n");
//		break;
//	}

I have attached my copy of minimal.cpp which you can use to overwrite your copy once you have changed the extension from .txt to .cpp (I couldn’t upload the cpp file).

Either way, you will need to recompile which took 3 hours for me.