Added getJoystickCount function for the Windows platform
@@ -1482,5 +1482,7 @@ bool DInputDevice::joystickDetected()
return( smJoystickCount > 0 );
}
-
+U8 DInputDevice::getJoystickCount()
+{
+ return(smJoystickCount);
+}
@@ -135,7 +135,7 @@ class DInputDevice : public InputDevice
// Console interface functions:
const char* getJoystickAxesString();
static bool joystickDetected();
- //
+ static U8 getJoystickCount();
bool process();
};