mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 09:56:26 +00:00
Use the correct type for the device_instance
This commit is contained in:
@@ -102,7 +102,7 @@ static int MaybeRemoveDevice(const char *path);
|
|||||||
/* A linked list of available joysticks */
|
/* A linked list of available joysticks */
|
||||||
typedef struct SDL_joylist_item
|
typedef struct SDL_joylist_item
|
||||||
{
|
{
|
||||||
int device_instance;
|
SDL_JoystickID device_instance;
|
||||||
char *path; /* "/dev/input/event2" or whatever */
|
char *path; /* "/dev/input/event2" or whatever */
|
||||||
char *name; /* "SideWinder 3D Pro" or whatever */
|
char *name; /* "SideWinder 3D Pro" or whatever */
|
||||||
SDL_JoystickGUID guid;
|
SDL_JoystickGUID guid;
|
||||||
|
Reference in New Issue
Block a user