src/joystick/windows/SDL_windowsjoystick.c
changeset 13369 d73580c86f81
parent 12968 0e3948762c96
child 13422 fd6a12de91c7
equal deleted inserted replaced
13368:1219018fa220 13369:d73580c86f81
   417         device = device->pNext;
   417         device = device->pNext;
   418 
   418 
   419     return device->bXInputDevice ? (int)device->XInputUserId : -1;
   419     return device->bXInputDevice ? (int)device->XInputUserId : -1;
   420 }
   420 }
   421 
   421 
       
   422 static void
       
   423 WINDOWS_JoystickSetDevicePlayerIndex(int device_index, int player_index)
       
   424 {
       
   425 }
       
   426 
   422 /* return the stable device guid for this device index */
   427 /* return the stable device guid for this device index */
   423 static SDL_JoystickGUID
   428 static SDL_JoystickGUID
   424 WINDOWS_JoystickGetDeviceGUID(int device_index)
   429 WINDOWS_JoystickGetDeviceGUID(int device_index)
   425 {
   430 {
   426     JoyStick_DeviceData *device = SYS_Joystick;
   431     JoyStick_DeviceData *device = SYS_Joystick;
   555     WINDOWS_JoystickInit,
   560     WINDOWS_JoystickInit,
   556     WINDOWS_JoystickGetCount,
   561     WINDOWS_JoystickGetCount,
   557     WINDOWS_JoystickDetect,
   562     WINDOWS_JoystickDetect,
   558     WINDOWS_JoystickGetDeviceName,
   563     WINDOWS_JoystickGetDeviceName,
   559     WINDOWS_JoystickGetDevicePlayerIndex,
   564     WINDOWS_JoystickGetDevicePlayerIndex,
       
   565     WINDOWS_JoystickSetDevicePlayerIndex,
   560     WINDOWS_JoystickGetDeviceGUID,
   566     WINDOWS_JoystickGetDeviceGUID,
   561     WINDOWS_JoystickGetDeviceInstanceID,
   567     WINDOWS_JoystickGetDeviceInstanceID,
   562     WINDOWS_JoystickOpen,
   568     WINDOWS_JoystickOpen,
   563     WINDOWS_JoystickRumble,
   569     WINDOWS_JoystickRumble,
   564     WINDOWS_JoystickUpdate,
   570     WINDOWS_JoystickUpdate,