|
Size: 714
Comment: Removed old formatting (from Feedback).
|
← Revision 5 as of 2016-07-15 20:44:23 ⇥
Size: 776
Comment: Added Version section.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 26: | Line 26: |
| == Version == This function is available since SDL 2.0.0. |
DRAFT |
SDL_NumHaptics
Use this function to count the number of haptic devices attached to the system.
Syntax
int SDL_NumHaptics(void)
Return Value
Returns the number of haptic devices detected on the system 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
Version
This function is available since SDL 2.0.0.
