include/SDL_haptic.h
changeset 7120 bc4424a5a38f
parent 6885 700f1b25f77f
child 7125 082c0c53ac16
     1.1 --- a/include/SDL_haptic.h	Sat Apr 27 14:26:15 2013 +0200
     1.2 +++ b/include/SDL_haptic.h	Sat Apr 27 14:33:27 2013 +0200
     1.3 @@ -895,7 +895,7 @@
     1.4   *  \brief Returns the number of effects a haptic device can store.
     1.5   *  
     1.6   *  On some platforms this isn't fully supported, and therefore is an
     1.7 - *  aproximation.  Always check to see if your created effect was actually
     1.8 + *  approximation.  Always check to see if your created effect was actually
     1.9   *  created and do not rely solely on SDL_HapticNumEffects().
    1.10   *  
    1.11   *  \param haptic The haptic device to query effect max.
    1.12 @@ -912,7 +912,7 @@
    1.13   *         time.
    1.14   *  
    1.15   *  This is not supported on all platforms, but will always return a value.  
    1.16 - *  Added here for the sake of completness.
    1.17 + *  Added here for the sake of completeness.
    1.18   *  
    1.19   *  \param haptic The haptic device to query maximum playing effects.
    1.20   *  \return The number of effects the haptic device can play at the same time
    1.21 @@ -999,7 +999,7 @@
    1.22                                                     SDL_HapticEffect * data);
    1.23  
    1.24  /**
    1.25 - *  \brief Runs the haptic effect on it's assosciated haptic device.
    1.26 + *  \brief Runs the haptic effect on it's associated haptic device.
    1.27   *  
    1.28   *  If iterations are ::SDL_HAPTIC_INFINITY, it'll run the effect over and over
    1.29   *  repeating the envelope (attack and fade) every time.  If you only want the
    1.30 @@ -1021,7 +1021,7 @@
    1.31                                                  Uint32 iterations);
    1.32  
    1.33  /**
    1.34 - *  \brief Stops the haptic effect on it's assosciated haptic device.
    1.35 + *  \brief Stops the haptic effect on it's associated haptic device.
    1.36   *  
    1.37   *  \param haptic Haptic device to stop the effect on.
    1.38   *  \param effect Identifier of the effect to stop.
    1.39 @@ -1068,7 +1068,7 @@
    1.40   *  
    1.41   *  Device must support the ::SDL_HAPTIC_GAIN feature.
    1.42   *  
    1.43 - *  The user may specify the maxmimum gain by setting the environment variable
    1.44 + *  The user may specify the maximum gain by setting the environment variable
    1.45   *  ::SDL_HAPTIC_GAIN_MAX which should be between 0 and 100.  All calls to
    1.46   *  SDL_HapticSetGain() will scale linearly using ::SDL_HAPTIC_GAIN_MAX as the
    1.47   *  maximum.
    1.48 @@ -1164,7 +1164,7 @@
    1.49   *
    1.50   *  \param haptic Haptic device to play rumble effect on.
    1.51   *  \param strength Strength of the rumble to play as a 0-1 float value.
    1.52 - *  \param length Length of the rumble to play in miliseconds.
    1.53 + *  \param length Length of the rumble to play in milliseconds.
    1.54   *  \return 0 on success or -1 on error.
    1.55   *
    1.56   *  \sa SDL_HapticRumbleSupported