Browse Source

Fixed duplicate definition of SDL_JoystickID

Sam Lantinga 7 years ago
parent
commit
c5bcefa7e8
1 changed files with 1 additions and 2 deletions
  1. 1 2
      include/SDL_sensor.h

+ 1 - 2
include/SDL_sensor.h

@@ -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.
  */
-typedef Sint32 SDL_JoystickID;
-typedef int SDL_SensorID;
+typedef Sint32 SDL_SensorID;
 
 /* The different sensor types */
 typedef enum