Navigation Menu

Skip to content

Commit

Permalink
Fixed duplicate definition of SDL_JoystickID
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 21, 2018
1 parent 7749ee2 commit c5bcefa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/SDL_sensor.h
Expand Up @@ -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
Expand Down

0 comments on commit c5bcefa

Please sign in to comment.