From aec005213d6e5908163cfaccb2ea89c6aa40d31c Mon Sep 17 00:00:00 2001 From: Edgar Simo Date: Mon, 7 Jul 2008 11:51:28 +0000 Subject: [PATCH] Fixed mistake in example. --- include/SDL_haptic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_haptic.h b/include/SDL_haptic.h index d0cf3a81a..2baf87ae9 100644 --- a/include/SDL_haptic.h +++ b/include/SDL_haptic.h @@ -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