src/joystick/windows/SDL_windowsjoystick.c
changeset 13369 d73580c86f81
parent 12968 0e3948762c96
child 13422 fd6a12de91c7
     1.1 --- a/src/joystick/windows/SDL_windowsjoystick.c	Fri Dec 20 15:58:59 2019 +0100
     1.2 +++ b/src/joystick/windows/SDL_windowsjoystick.c	Fri Dec 20 20:12:03 2019 -0800
     1.3 @@ -419,6 +419,11 @@
     1.4      return device->bXInputDevice ? (int)device->XInputUserId : -1;
     1.5  }
     1.6  
     1.7 +static void
     1.8 +WINDOWS_JoystickSetDevicePlayerIndex(int device_index, int player_index)
     1.9 +{
    1.10 +}
    1.11 +
    1.12  /* return the stable device guid for this device index */
    1.13  static SDL_JoystickGUID
    1.14  WINDOWS_JoystickGetDeviceGUID(int device_index)
    1.15 @@ -557,6 +562,7 @@
    1.16      WINDOWS_JoystickDetect,
    1.17      WINDOWS_JoystickGetDeviceName,
    1.18      WINDOWS_JoystickGetDevicePlayerIndex,
    1.19 +    WINDOWS_JoystickSetDevicePlayerIndex,
    1.20      WINDOWS_JoystickGetDeviceGUID,
    1.21      WINDOWS_JoystickGetDeviceInstanceID,
    1.22      WINDOWS_JoystickOpen,