From b7785f2d8c951e3ba5beab2343b4f29c7223127f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 20 Aug 2002 22:59:08 +0000 Subject: [PATCH] Uncomment joystick init (oops, didn't mean to commit that part) --- stepmania/src/RageInput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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