changeset 2591:07a19c1cc0a7 gsoc2008_force_feedback

Disabled getting capabilities (not used atm).
author Edgar Simo <bobbens@gmail.com>
date Mon, 04 Aug 2008 17:16:11 +0000
parents a4410ff43f41
children 8152dd46fbe2
files src/haptic/win32/SDL_syshaptic.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);