Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed TODO.
Browse files Browse the repository at this point in the history
Updated comments.
  • Loading branch information
bobbens committed Aug 6, 2008
1 parent 0608cb9 commit 36054a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/haptic/win32/SDL_syshaptic.c
Expand Up @@ -469,8 +469,11 @@ SDL_SYS_HapticOpenFromDevice2(SDL_Haptic * haptic, LPDIRECTINPUTDEVICE2 device2)
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 *)
Expand Down

0 comments on commit 36054a8

Please sign in to comment.