Fixed mistake in example. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Mon, 07 Jul 2008 11:51:28 +0000
branchgsoc2008_force_feedback
changeset 2501 ff12f79dfc8d
parent 2500 5251d0510b7e
child 2502 5356ca0c36a3
Fixed mistake in example.
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