src/haptic/win32/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2631 a0845d7f4398
parent 2629 43a0416b3707
child 2645 269ba4f28d0e
--- 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 *)