Permalink
Browse files

Recognize the Dual Shock 3 as a valid pad, even if it has more than 6…

… axis
1 parent 222311c commit d6c64e93157c0c9d5fd7abd633abd1e6f65f05dd @mariospr committed with Jun 14, 2014
Showing with 0 additions and 10 deletions.
  1. +0 −10 unix/graphics.cpp
View
@@ -144,16 +144,6 @@ void S9xInitDisplay (int height)
//Check for valid joystick, some keyboards
//aren't SDL compatible
- if(joy[i])
- {
- if (SDL_JoystickNumAxes(joy[i]) > 6)
- {
- SDL_JoystickClose(joy[i]);
- joy[i]=0;
- printf("Error detected invalid joystick/keyboard\n");
- break;
- }
- }
if(i==1) break; //Only need two joysticks
}
}

0 comments on commit d6c64e9

Please sign in to comment.