Mercurial > sdl-ios-xcode
changeset 2501:ff12f79dfc8d gsoc2008_force_feedback
Fixed mistake in example.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Mon, 07 Jul 2008 11:51:28 +0000 |
parents | 5251d0510b7e |
children | 5356ca0c36a3 |
files | include/SDL_haptic.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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