Uncomment joystick init (oops, didn't mean to commit that part)
This commit is contained in:
@@ -438,12 +438,12 @@ HRESULT RageInput::Initialize()
|
|||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
// Look for joysticks
|
// Look for joysticks
|
||||||
// TODO: Why is this function so slow to return? Is it just my machine?
|
// 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,
|
EnumJoysticksCallback,
|
||||||
(VOID*)this,
|
(VOID*)this,
|
||||||
DIEDFL_ATTACHEDONLY ) ) )
|
DIEDFL_ATTACHEDONLY ) ) )
|
||||||
throw RageException( hr, "m_pDI->EnumDevices failed." );
|
throw RageException( hr, "m_pDI->EnumDevices failed." );
|
||||||
*/
|
|
||||||
for( int i=0; i<NUM_JOYSTICKS; i++ )
|
for( int i=0; i<NUM_JOYSTICKS; i++ )
|
||||||
{
|
{
|
||||||
// Set the data format to "simple joystick" - a predefined data format
|
// Set the data format to "simple joystick" - a predefined data format
|
||||||
|
|||||||
Reference in New Issue
Block a user