diff options
Diffstat (limited to 'Source/Core/InputCommon/Src/SDL.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/SDL.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/Core/InputCommon/Src/SDL.cpp b/Source/Core/InputCommon/Src/SDL.cpp index b3f81fa2f7..4dd49598db 100644 --- a/Source/Core/InputCommon/Src/SDL.cpp +++ b/Source/Core/InputCommon/Src/SDL.cpp @@ -60,11 +60,6 @@ namespace InputCommon // ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
bool SearchDevices(std::vector<CONTROLLER_INFO> &_joyinfo, int &_NumPads, int &_NumGoodPads)
{
- // Load config
- #ifdef _DEBUG
- DEBUG_INIT();
- #endif
-
/* SDL 1.3 use DirectInput instead of the old Microsoft Multimedia API, and with this we need
the SDL_INIT_VIDEO flag to */
if (!SDL_WasInit(0))
@@ -74,11 +69,6 @@ bool SearchDevices(std::vector<CONTROLLER_INFO> &_joyinfo, int &_NumPads, int &_ return false;
}
- #ifdef _DEBUG
- fprintf(pFile, "Scanning for devices\n");
- fprintf(pFile, "ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\n");
- #endif
-
// Get device status
int numjoy = SDL_NumJoysticks();
for (int i = 0; i < numjoy; i++ )
@@ -110,15 +100,6 @@ bool SearchDevices(std::vector<CONTROLLER_INFO> &_joyinfo, int &_NumPads, int &_ _joyinfo.push_back(Tmp);
- #ifdef _DEBUG
- fprintf(pFile, "ID: %d\n", i);
- fprintf(pFile, "Name: %s\n", joyinfo[i].Name);
- fprintf(pFile, "Buttons: %d\n", joyinfo[i].NumButtons);
- fprintf(pFile, "Axes: %d\n", joyinfo[i].NumAxes);
- fprintf(pFile, "Hats: %d\n", joyinfo[i].NumHats);
- fprintf(pFile, "Balls: %d\n\n", joyinfo[i].NumBalls);
- #endif
-
// We have now read the values we need so we close the device
if (SDL_JoystickOpened(i)) SDL_JoystickClose(_joyinfo[i].joy);
}
|
