src/haptic/windows/SDL_syshaptic.c
changeset 6690 9548c8a58103
parent 6403 8d34c6248f4a
child 6716 1616f6b3738c
     1.1 --- a/src/haptic/windows/SDL_syshaptic.c	Mon Nov 26 14:59:07 2012 -0800
     1.2 +++ b/src/haptic/windows/SDL_syshaptic.c	Mon Nov 26 16:37:54 2012 -0800
     1.3 @@ -520,7 +520,7 @@
     1.4  
     1.5      /* Grab the first mouse haptic device we find. */
     1.6      for (i = 0; i < SDL_numhaptics; i++) {
     1.7 -        if (SDL_hapticlist[i].capabilities.dwDevType == DIDEVTYPE_MOUSE) {
     1.8 +        if (SDL_hapticlist[i].capabilities.dwDevType == DI8DEVCLASS_POINTER ) {
     1.9              return i;
    1.10          }
    1.11      }