src/haptic/win32/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2591 07a19c1cc0a7
parent 2590 a4410ff43f41
child 2592 8152dd46fbe2
--- a/src/haptic/win32/SDL_syshaptic.c	Mon Aug 04 17:13:16 2008 +0000
+++ b/src/haptic/win32/SDL_syshaptic.c	Mon Aug 04 17:16:11 2008 +0000
@@ -66,7 +66,7 @@
 struct haptic_hwdata
 {
    LPDIRECTINPUTDEVICE2 device;
-   DIDEVCAPS capabilities;
+   /* DIDEVCAPS capabilities; */
 };
 
 
@@ -287,6 +287,7 @@
       goto query_err;
    }
 
+#if 0
    /* Get capabilities. */
    ret = IDirectInputDevice2_GetCapabilities( haptic->hwdata->device,
                                               &haptic->hwdata->capabilities );
@@ -294,6 +295,7 @@
       DI_SetError("Getting device capabilities",ret);
       goto acquire_err;
    }
+#endif
 
    /* Acquire the device. */
    ret = IDirectInputDevice2_Acquire(haptic->hwdata->device);