include/SDL_haptic.h
changeset 7125 082c0c53ac16
parent 7120 bc4424a5a38f
child 7191 75360622e65f
     1.1 --- a/include/SDL_haptic.h	Sat Apr 27 17:23:20 2013 +0200
     1.2 +++ b/include/SDL_haptic.h	Sat Apr 27 17:52:58 2013 +0200
     1.3 @@ -489,13 +489,13 @@
     1.4   *  over time.  The type determines the shape of the wave and the parameters
     1.5   *  determine the dimensions of the wave.
     1.6   *  
     1.7 - *  Phase is given by hundredth of a cyle meaning that giving the phase a value
     1.8 - *  of 9000 will displace it 25% of it's period.  Here are sample values:
     1.9 + *  Phase is given by hundredth of a cycle meaning that giving the phase a value
    1.10 + *  of 9000 will displace it 25% of its period.  Here are sample values:
    1.11   *   -     0: No phase displacement.
    1.12 - *   -  9000: Displaced 25% of it's period.
    1.13 - *   - 18000: Displaced 50% of it's period.
    1.14 - *   - 27000: Displaced 75% of it's period.
    1.15 - *   - 36000: Displaced 100% of it's period, same as 0, but 0 is preffered.
    1.16 + *   -  9000: Displaced 25% of its period.
    1.17 + *   - 18000: Displaced 50% of its period.
    1.18 + *   - 27000: Displaced 75% of its period.
    1.19 + *   - 36000: Displaced 100% of its period, same as 0, but 0 is preferred.
    1.20   *
    1.21   *  Examples:
    1.22   *  \verbatim
    1.23 @@ -651,7 +651,7 @@
    1.24   *  \brief A structure containing a template for the ::SDL_HAPTIC_CUSTOM effect.
    1.25   *  
    1.26   *  A custom force feedback effect is much like a periodic effect, where the
    1.27 - *  application can define it's exact shape.  You will have to allocate the
    1.28 + *  application can define its exact shape.  You will have to allocate the
    1.29   *  data yourself.  Data should consist of channels * samples Uint16 samples.
    1.30   *  
    1.31   *  If channels is one, the effect is rotated using the defined direction.
    1.32 @@ -781,7 +781,7 @@
    1.33   *  This can be called before any joysticks are opened.
    1.34   *  If no name can be found, this function returns NULL.
    1.35   *  
    1.36 - *  \param device_index Index of the device to get it's name.
    1.37 + *  \param device_index Index of the device to get its name.
    1.38   *  \return Name of the device or NULL on error.
    1.39   *
    1.40   *  \sa SDL_NumHaptics
    1.41 @@ -794,7 +794,7 @@
    1.42   *  The index passed as an argument refers to the N'th Haptic device on this 
    1.43   *  system.
    1.44   *
    1.45 - *  When opening a haptic device, it's gain will be set to maximum and
    1.46 + *  When opening a haptic device, its gain will be set to maximum and
    1.47   *  autocenter will be disabled.  To modify these values use
    1.48   *  SDL_HapticSetGain() and SDL_HapticSetAutocenter().
    1.49   *
    1.50 @@ -999,7 +999,7 @@
    1.51                                                     SDL_HapticEffect * data);
    1.52  
    1.53  /**
    1.54 - *  \brief Runs the haptic effect on it's associated haptic device.
    1.55 + *  \brief Runs the haptic effect on its associated haptic device.
    1.56   *  
    1.57   *  If iterations are ::SDL_HAPTIC_INFINITY, it'll run the effect over and over
    1.58   *  repeating the envelope (attack and fade) every time.  If you only want the
    1.59 @@ -1021,7 +1021,7 @@
    1.60                                                  Uint32 iterations);
    1.61  
    1.62  /**
    1.63 - *  \brief Stops the haptic effect on it's associated haptic device.
    1.64 + *  \brief Stops the haptic effect on its associated haptic device.
    1.65   *  
    1.66   *  \param haptic Haptic device to stop the effect on.
    1.67   *  \param effect Identifier of the effect to stop.
    1.68 @@ -1053,7 +1053,7 @@
    1.69   *  Device must support the ::SDL_HAPTIC_STATUS feature.
    1.70   *  
    1.71   *  \param haptic Haptic device to query the effect status on.
    1.72 - *  \param effect Identifier of the effect to query it's status.
    1.73 + *  \param effect Identifier of the effect to query its status.
    1.74   *  \return 0 if it isn't playing, ::SDL_HAPTIC_PLAYING if it is playing
    1.75   *          or -1 on error.
    1.76   *