src/joystick/windows/SDL_dxjoystick.c
changeset 6974 11a03a79dfe8
parent 6971 5ded971ee761
child 6977 b73d51026c68
     1.1 --- a/src/joystick/windows/SDL_dxjoystick.c	Wed Mar 06 11:59:19 2013 -0800
     1.2 +++ b/src/joystick/windows/SDL_dxjoystick.c	Wed Mar 06 11:59:21 2013 -0800
     1.3 @@ -67,7 +67,7 @@
     1.4  static LPDIRECTINPUT8 dinput = NULL;
     1.5  static SDL_bool s_bDeviceAdded = SDL_FALSE;
     1.6  static SDL_bool s_bDeviceRemoved = SDL_FALSE;
     1.7 -static int s_nInstanceID = -1;
     1.8 +static SDL_JoystickID s_nInstanceID = -1;
     1.9  static GUID *s_pKnownJoystickGUIDs = NULL;
    1.10  static SDL_cond *s_condJoystickThread = NULL;
    1.11  static SDL_mutex *s_mutexJoyStickEnum = NULL;
    1.12 @@ -85,7 +85,7 @@
    1.13  	DIDEVICEINSTANCE dxdevice;
    1.14  	char *joystickname;
    1.15  	Uint8 send_add_event;
    1.16 -	int nInstanceID;
    1.17 +	SDL_JoystickID nInstanceID;
    1.18  	SDL_bool bXInputDevice;
    1.19  	Uint8 XInputUserId;
    1.20  	struct JoyStick_DeviceData_ *pNext;