Fixed duplicate definition of SDL_JoystickID

This commit is contained in:
Sam Lantinga 2018-08-21 13:44:11 -07:00
parent 7749ee2a43
commit c5bcefa7e8
1 changed files with 1 additions and 2 deletions

View File

@ -57,8 +57,7 @@ typedef struct _SDL_Sensor SDL_Sensor;
* *
* The ID value starts at 0 and increments from there. The value -1 is an invalid ID. * The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
*/ */
typedef Sint32 SDL_JoystickID; typedef Sint32 SDL_SensorID;
typedef int SDL_SensorID;
/* The different sensor types */ /* The different sensor types */
typedef enum typedef enum