The code I am using to test it is:
//Check the joysticks
this->mainLog->writeLine(" Checking for Joysticks...");
int num_joy;
num_joy=SDL_NumJoysticks();
if(num_joy > 0){
this->mainLog->writeLine(" Joysticks found..");
for(int i=0;i<num_joy;i++){
this->mainLog->writeLine(SDL_JoystickName(i));
}
}
else{
this->mainLog->writeLine(" No joysticks found..");
}
So far my log files keep reporting that no joysticks were found.
Any help would be appreciated.
Thanks