# HG changeset patch # User Edgar Simo # Date 1217870171 0 # Node ID 07a19c1cc0a72343bc6dc4bbb994787507e5d760 # Parent a4410ff43f41a6b1e708464802dae93c284d736e Disabled getting capabilities (not used atm). diff -r a4410ff43f41 -r 07a19c1cc0a7 src/haptic/win32/SDL_syshaptic.c --- 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);