|
Size: 718
Comment: added RF
|
Size: 730
Comment: minor change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 6: | Line 6: |
| Use this function to count the number of __joysticks__ attached to the system. | Use this function to count the number of ,,joysticks,, ^haptic devices^ attached to the system. |
| Line 16: | Line 16: |
| Returns the number of __haptic__ devices detected on the system, or a negative error code on failure; call [[SDL_GetError]]() for more information. | Returns the number of haptic devices detected on the system or a negative error code on failure; call [[SDL_GetError]]() for more information. |
DRAFT |
SDL_NumHaptics
Use this function to count the number of joysticks 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
