# HG changeset patch # User Edgar Simo # Date 1218020533 0 # Node ID a0845d7f4398b1ccca5bdcfd8f1a47087ab6e624 # Parent 776f7f800131eb857c9a3de081e229928f9c1fa3 Removed TODO. Updated comments. diff -r 776f7f800131 -r a0845d7f4398 src/haptic/win32/SDL_syshaptic.c --- a/src/haptic/win32/SDL_syshaptic.c Wed Aug 06 10:53:55 2008 +0000 +++ b/src/haptic/win32/SDL_syshaptic.c Wed Aug 06 11:02:13 2008 +0000 @@ -469,8 +469,11 @@ haptic->supported |= SDL_HAPTIC_STATUS; /* Check maximum effects. */ - haptic->neffects = 128; /* TODO actually figure this out. */ - haptic->nplaying = 128; + haptic->neffects = 128; /* This is not actually supported as thus under windows, + there is no way to tell the number of EFFECTS that a + device can hold, so we'll just use a "random" number + instead and put warnings in SDL_haptic.h */ + haptic->nplaying = 128; /* Even more impossible to get this then neffects. */ /* Prepare effects memory. */ haptic->effects = (struct haptic_effect *)