src/haptic/win32/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2596 b4be02fc05e4
parent 2595 1dd8cf9614ad
child 2597 79e3b1a2c590
equal deleted inserted replaced
2595:1dd8cf9614ad 2596:b4be02fc05e4
   194  */
   194  */
   195 #define EFFECT_TEST(e,s)   \
   195 #define EFFECT_TEST(e,s)   \
   196 if ((pei->guid.Data1 == e.Data1) &&   \
   196 if ((pei->guid.Data1 == e.Data1) &&   \
   197       (pei->guid.Data2 == e.Data2) && \
   197       (pei->guid.Data2 == e.Data2) && \
   198       (pei->guid.Data3 == e.Data3) && \
   198       (pei->guid.Data3 == e.Data3) && \
   199       (SDL_strcmp(pei->guid.Data4,e.Data4)==0) \
   199       (SDL_strcmp(pei->guid.Data4,e.Data4)==0)) \
   200    haptic->supported |= (s)
   200    haptic->supported |= (s)
   201 static BOOL CALLBACK
   201 static BOOL CALLBACK
   202 DI_EffectCallback(LPCDIEFFECTINFO pei, LPVOID pv)
   202 DI_EffectCallback(LPCDIEFFECTINFO pei, LPVOID pv)
   203 {
   203 {
   204    /* Prepare the haptic device. */
   204    /* Prepare the haptic device. */