Mercurial > sdl-ios-xcode
comparison include/SDL_haptic.h @ 2558:c38ac77ea28f gsoc2008_force_feedback
Fixed some typos.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 30 Jul 2008 18:22:45 +0000 |
parents | 2681a04c2d3d |
children | be2ea885d70b |
comparison
equal
deleted
inserted
replaced
2557:30778d9d8bff | 2558:c38ac77ea28f |
---|---|
290 * \brief Structure that represents a haptic direction. | 290 * \brief Structure that represents a haptic direction. |
291 * | 291 * |
292 * Directions can be specified by: | 292 * Directions can be specified by: |
293 * - SDL_HAPTIC_POLAR : Specified by polar coordinates. | 293 * - SDL_HAPTIC_POLAR : Specified by polar coordinates. |
294 * - SDL_HAPTIC_CARTESIAN : Specified by cartesian coordinates. | 294 * - SDL_HAPTIC_CARTESIAN : Specified by cartesian coordinates. |
295 * - SDL_HAPTIC_SHPERICAL : Specified by spherical coordinates. | 295 * - SDL_HAPTIC_SPHERICAL : Specified by spherical coordinates. |
296 * | 296 * |
297 * Cardinal directions of the haptic device are relative to the positioning | 297 * Cardinal directions of the haptic device are relative to the positioning |
298 * of the device. North is considered to be away from the user. | 298 * of the device. North is considered to be away from the user. |
299 * | 299 * |
300 * The following diagram represents the cardinal directions: | 300 * The following diagram represents the cardinal directions: |
371 * direction.dir[0] = 9000; // Since we only have two axes we don't need more parameters. | 371 * direction.dir[0] = 9000; // Since we only have two axes we don't need more parameters. |
372 * \endcode | 372 * \endcode |
373 * | 373 * |
374 * \sa SDL_HAPTIC_POLAR | 374 * \sa SDL_HAPTIC_POLAR |
375 * \sa SDL_HAPTIC_CARTESIAN | 375 * \sa SDL_HAPTIC_CARTESIAN |
376 * \sa SDL_HAPTIC_SHPERICAL | 376 * \sa SDL_HAPTIC_SPHERICAL |
377 * \sa SDL_HapticEffect | 377 * \sa SDL_HapticEffect |
378 * \sa SDL_HapticNumAxes | 378 * \sa SDL_HapticNumAxes |
379 */ | 379 */ |
380 typedef struct SDL_HapticDirection { | 380 typedef struct SDL_HapticDirection { |
381 Uint8 type; /**< The type of encoding. */ | 381 Uint8 type; /**< The type of encoding. */ |