include/SDL_haptic.h
branchgsoc2008_force_feedback
changeset 2501 ff12f79dfc8d
parent 2500 5251d0510b7e
child 2502 5356ca0c36a3
     1.1 --- a/include/SDL_haptic.h	Sun Jul 06 21:47:41 2008 +0000
     1.2 +++ b/include/SDL_haptic.h	Mon Jul 07 11:51:28 2008 +0000
     1.3 @@ -60,7 +60,7 @@
     1.4   *    memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default
     1.5   *    effect.type = SDL_HAPTIC_SINE;
     1.6   *    effect.periodic.direction.type = SDL_HAPTIC_POLAR; // Polar coordinates
     1.7 - *    effect.periodic.direction.dir[0] = 180000; // Force comes from south
     1.8 + *    effect.periodic.direction.dir[0] = 18000; // Force comes from south
     1.9   *    effect.periodic.period = 1000; // 1000 ms
    1.10   *    effect.periodic.magnitude = 20000; // 20000/32767 strength
    1.11   *    effect.periodic.length = 5000; // 5 seconds long