diff --git a/stepmania/src/RageInput.cpp b/stepmania/src/RageInput.cpp index c4e2da6a5a..fa2d59c877 100644 --- a/stepmania/src/RageInput.cpp +++ b/stepmania/src/RageInput.cpp @@ -438,12 +438,12 @@ HRESULT RageInput::Initialize() ////////////////////////////// // Look for joysticks // TODO: Why is this function so slow to return? Is it just my machine? -/* if( FAILED( hr = m_pDI->EnumDevices( DI8DEVCLASS_GAMECTRL, + if( FAILED( hr = m_pDI->EnumDevices( DI8DEVCLASS_GAMECTRL, EnumJoysticksCallback, (VOID*)this, DIEDFL_ATTACHEDONLY ) ) ) throw RageException( hr, "m_pDI->EnumDevices failed." ); -*/ + for( int i=0; i