Mercurial > sdl-ios-xcode
changeset 2631:a0845d7f4398 gsoc2008_force_feedback
Removed TODO.
Updated comments.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 11:02:13 +0000 |
parents | 776f7f800131 |
children | 9e7f58b1b255 |
files | src/haptic/win32/SDL_syshaptic.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 *)