Clarified device ID documentation

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

No files matched your search

+1 -2
View File
@@ -55,8 +55,7 @@ typedef struct SDL_Sensor SDL_Sensor;
* This is a unique ID for a sensor for the time it is connected to the
* system, and is never reused for the lifetime of the application.
*
* 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.
*/