Removed TODO. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Wed, 06 Aug 2008 11:02:13 +0000
branchgsoc2008_force_feedback
changeset 2631 a0845d7f4398
parent 2630 776f7f800131
child 2632 9e7f58b1b255
Removed TODO. Updated comments.
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 *)