# HG changeset patch # User Edgar Simo # Date 1215431488 0 # Node ID ff12f79dfc8d6662bc8ac2c3f41caff4a93746d7 # Parent 5251d0510b7e2f4bfdd726332bd22247408d2517 Fixed mistake in example. diff -r 5251d0510b7e -r ff12f79dfc8d include/SDL_haptic.h --- a/include/SDL_haptic.h Sun Jul 06 21:47:41 2008 +0000 +++ b/include/SDL_haptic.h Mon Jul 07 11:51:28 2008 +0000 @@ -60,7 +60,7 @@ * memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default * effect.type = SDL_HAPTIC_SINE; * effect.periodic.direction.type = SDL_HAPTIC_POLAR; // Polar coordinates - * effect.periodic.direction.dir[0] = 180000; // Force comes from south + * effect.periodic.direction.dir[0] = 18000; // Force comes from south * effect.periodic.period = 1000; // 1000 ms * effect.periodic.magnitude = 20000; // 20000/32767 strength * effect.periodic.length = 5000; // 5 seconds long