Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed mistake in example.

  • Loading branch information
bobbens committed Jul 7, 2008
1 parent 8d55260 commit aec005213d6e5908163cfaccb2ea89c6aa40d31c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit aec0052

Please sign in to comment.