[SVN] r3918 - branches/gsoc2008_force_feedback/src/haptic/win32

svn-owner at libsdl.org svn-owner at libsdl.org
Wed Aug 6 04:02:13 PDT 2008


Author: bobbens
Date: 2008-08-06 04:02:13 -0700 (Wed, 06 Aug 2008)
New Revision: 3918

Modified:
   branches/gsoc2008_force_feedback/src/haptic/win32/SDL_syshaptic.c
Log:
Removed TODO.
Updated comments.


Modified: branches/gsoc2008_force_feedback/src/haptic/win32/SDL_syshaptic.c
===================================================================
--- branches/gsoc2008_force_feedback/src/haptic/win32/SDL_syshaptic.c	2008-08-06 10:53:55 UTC (rev 3917)
+++ branches/gsoc2008_force_feedback/src/haptic/win32/SDL_syshaptic.c	2008-08-06 11:02:13 UTC (rev 3918)
@@ -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 *)



More information about the SVN mailing list