src/haptic/darwin/SDL_syshaptic.c
changeset 9740 55e88e3bc7cc
parent 9633 3e742dd2c13d
child 9998 f67cf37e9cd4
equal deleted inserted replaced
9739:306e09b65660 9740:55e88e3bc7cc
   681 
   681 
   682         /* Free the io_service_t */
   682         /* Free the io_service_t */
   683         IOObjectRelease(item->dev);
   683         IOObjectRelease(item->dev);
   684         SDL_free(item);
   684         SDL_free(item);
   685     }
   685     }
       
   686 
   686     numhaptics = -1;
   687     numhaptics = -1;
       
   688     SDL_hapticlist = NULL;
       
   689     SDL_hapticlist_tail = NULL;
   687 }
   690 }
   688 
   691 
   689 
   692 
   690 /*
   693 /*
   691  * Converts an SDL trigger button to an FFEFFECT trigger button.
   694  * Converts an SDL trigger button to an FFEFFECT trigger button.
  1407     }
  1410     }
  1408 
  1411 
  1409     return 0;
  1412     return 0;
  1410 }
  1413 }
  1411 
  1414 
  1412 
       
  1413 #endif /* SDL_HAPTIC_IOKIT */
  1415 #endif /* SDL_HAPTIC_IOKIT */
       
  1416 
       
  1417 /* vi: set ts=4 sw=4 expandtab: */