Removed TODO. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Wed, 06 Aug 2008 11:02:13 +0000
branchgsoc2008_force_feedback
changeset 2631a0845d7f4398
parent 2630 776f7f800131
child 2632 9e7f58b1b255
Removed TODO.
Updated comments.
src/haptic/win32/SDL_syshaptic.c
     1.1 --- a/src/haptic/win32/SDL_syshaptic.c	Wed Aug 06 10:53:55 2008 +0000
     1.2 +++ b/src/haptic/win32/SDL_syshaptic.c	Wed Aug 06 11:02:13 2008 +0000
     1.3 @@ -469,8 +469,11 @@
     1.4     haptic->supported |= SDL_HAPTIC_STATUS;
     1.5  
     1.6     /* Check maximum effects. */
     1.7 -   haptic->neffects = 128; /* TODO actually figure this out. */
     1.8 -   haptic->nplaying = 128;
     1.9 +   haptic->neffects = 128; /* This is not actually supported as thus under windows,
    1.10 +                              there is no way to tell the number of EFFECTS that a
    1.11 +                              device can hold, so we'll just use a "random" number
    1.12 +                              instead and put warnings in SDL_haptic.h */
    1.13 +   haptic->nplaying = 128; /* Even more impossible to get this then neffects. */
    1.14  
    1.15     /* Prepare effects memory. */
    1.16     haptic->effects = (struct haptic_effect *)