| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | * |
| | | * Different haptic features a device can have. |
| | | */ |
| | | /*@{*/ |
| | | /* @{ */ |
| | | |
| | | /** |
| | | * \name Haptic effects |
| | | */ |
| | | /*@{*/ |
| | | /* @{ */ |
| | | |
| | | /** |
| | | * \brief Constant effect supported. |
| | |
| | | #define SDL_HAPTIC_LEFTRIGHT (1<<2) |
| | | |
| | | /* !!! FIXME: put this back when we have more bits in 2.1 */ |
| | | /*#define SDL_HAPTIC_SQUARE (1<<2)*/ |
| | | /* #define SDL_HAPTIC_SQUARE (1<<2) */ |
| | | |
| | | /** |
| | | * \brief Triangle wave effect supported. |
| | |
| | | */ |
| | | #define SDL_HAPTIC_CUSTOM (1<<11) |
| | | |
| | | /*@}*//*Haptic effects*/ |
| | | /* @} *//* Haptic effects */ |
| | | |
| | | /* These last few are features the device has, not effects */ |
| | | |
| | |
| | | /** |
| | | * \name Direction encodings |
| | | */ |
| | | /*@{*/ |
| | | /* @{ */ |
| | | |
| | | /** |
| | | * \brief Uses polar coordinates for the direction. |
| | |
| | | */ |
| | | #define SDL_HAPTIC_SPHERICAL 2 |
| | | |
| | | /*@}*//*Direction encodings*/ |
| | | /* @} *//* Direction encodings */ |
| | | |
| | | /*@}*//*Haptic features*/ |
| | | /* @} *//* Haptic features */ |
| | | |
| | | /* |
| | | * Misc defines. |