|
⇤ ← Revision 1 as of 2010-03-22 17:07:22
Size: 831
Comment: create page, add content (Rev 5321)
|
Size: 830
Comment: correct typo
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 19: | Line 19: |
| Returns the number of axes on success, or a negative error code on failure; call [[SDL_GetError]]() for more information. | Returns the number of axes on success or a negative error code on failure; call [[SDL_GetError]]() for more information. |
DRAFT |
SDL_HapticNumAxes
Use this function to get the number of haptic axes the device has.
Contents
Syntax
int SDL_HapticNumAxes(SDL_Haptic* haptic)
Function Parameters
haptic |
the haptic device to query for an axis count |
Return Value
Returns the number of axes on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Related Structures
