Clarified device ID documentation

Fixes https://github.com/libsdl-org/SDL/issues/10558
This commit is contained in:
Sam Lantinga 2024-08-16 15:20:11 -07:00
parent 7d78835f87
commit cb85894e94
6 changed files with 23 additions and 11 deletions

View file

@ -91,8 +91,7 @@ typedef struct SDL_Joystick SDL_Joystick;
*
* If the joystick is disconnected and reconnected, it will get a new ID.
*
* The ID value starts at 1 and increments from there. The value 0 is an
* invalid ID.
* The value 0 is an invalid ID.
*
* \since This datatype is available since SDL 3.0.0.
*/