include/SDL_haptic.h
branchgsoc2008_force_feedback
changeset 2511 f12ae0bae468
parent 2507 8ef1d0f4d0c1
child 2512 ef147ee4896c
     1.1 --- a/include/SDL_haptic.h	Wed Jul 09 18:23:54 2008 +0000
     1.2 +++ b/include/SDL_haptic.h	Wed Jul 09 18:29:11 2008 +0000
     1.3 @@ -306,16 +306,16 @@
     1.4   * If type is SDL_HAPTIC_POLAR, direction is encoded by hundredths of a 
     1.5   *  degree starting north and turning clockwise.  The cardinal directions would be:
     1.6   *   - North: 0 (0 degrees)
     1.7 - *   - West: 9000 (90 degrees)
     1.8 + *   - East: 9000 (90 degrees)
     1.9   *   - South: 18000 (180 degrees)
    1.10 - *   - East: 27000 (270 degrees)
    1.11 + *   - West: 27000 (270 degrees)
    1.12   *
    1.13   * If type is SDL_HAPTIC_CARTESIAN, direction is encoded by position.
    1.14   *  The cardinal directions would be:
    1.15   *   - North:  0,-1
    1.16 - *   - West:  -1, 0
    1.17 + *   - East:  -1, 0
    1.18   *   - South:  0, 1
    1.19 - *   - East:   1, 0
    1.20 + *   - West:   1, 0
    1.21   *
    1.22   *
    1.23   * Example:
    1.24 @@ -323,7 +323,7 @@
    1.25   * SDL_HapticDirection direction;
    1.26   *
    1.27   * direction.type = SDL_HAPTIC_POLAR; // We'll be using polar direction encoding.
    1.28 - * direction.dir = 180000; // Force comes from the south meaning the user will
    1.29 + * direction.dir = 18000; // Force comes from the south meaning the user will
    1.30   *                         // have to pull the stick to counteract.
    1.31   * \endcode
    1.32   *