Removed SDL_HAPTIC_SQUARE from comments in header to prevent doxygen confusion.
1.1 --- a/include/SDL_haptic.h Sat Aug 10 23:07:28 2013 +0200
1.2 +++ b/include/SDL_haptic.h Sat Aug 10 23:14:20 2013 +0200
1.3 @@ -483,7 +483,7 @@
1.4 *
1.5 * The struct handles the following effects:
1.6 * - ::SDL_HAPTIC_SINE
1.7 - * - ::SDL_HAPTIC_SQUARE
1.8 + * - ::SDL_HAPTIC_LEFTRIGHT
1.9 * - ::SDL_HAPTIC_TRIANGLE
1.10 * - ::SDL_HAPTIC_SAWTOOTHUP
1.11 * - ::SDL_HAPTIC_SAWTOOTHDOWN
1.12 @@ -529,7 +529,7 @@
1.13 \endverbatim
1.14 *
1.15 * \sa SDL_HAPTIC_SINE
1.16 - * \sa SDL_HAPTIC_SQUARE
1.17 + * \sa SDL_HAPTIC_LEFTRIGHT
1.18 * \sa SDL_HAPTIC_TRIANGLE
1.19 * \sa SDL_HAPTIC_SAWTOOTHUP
1.20 * \sa SDL_HAPTIC_SAWTOOTHDOWN
1.21 @@ -538,7 +538,7 @@
1.22 typedef struct SDL_HapticPeriodic
1.23 {
1.24 /* Header */
1.25 - Uint16 type; /**< ::SDL_HAPTIC_SINE, ::SDL_HAPTIC_SQUARE,
1.26 + Uint16 type; /**< ::SDL_HAPTIC_SINE, ::SDL_HAPTIC_LEFTRIGHT,
1.27 ::SDL_HAPTIC_TRIANGLE, ::SDL_HAPTIC_SAWTOOTHUP or
1.28 ::SDL_HAPTIC_SAWTOOTHDOWN */
1.29 SDL_HapticDirection direction; /**< Direction of the effect. */