|
Size: 731
Comment: add RF
|
Size: 730
Comment: correct typo
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| Returns the number of attached joysticks on success, or a negative error code on failure; call [[SDL_GetError]]() for more information. | Returns the number of attached joysticks on success or a negative error code on failure; call [[SDL_GetError]]() for more information. |
DRAFT |
SDL_NumJoysticks
Use this function to count the number of joysticks attached to the system.
Syntax
int SDL_NumJoysticks(void)
Return Value
Returns the number of attached joysticks 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
