src/joystick/linux/SDL_sysjoystick.c
changeset 12359 691c32a30fb9
parent 12333 898f03b00670
child 12410 a7ee81795c75
     1.1 --- a/src/joystick/linux/SDL_sysjoystick.c	Thu Oct 25 13:22:34 2018 -0700
     1.2 +++ b/src/joystick/linux/SDL_sysjoystick.c	Thu Oct 25 16:53:14 2018 -0700
     1.3 @@ -582,6 +582,12 @@
     1.4      return JoystickByDevIndex(device_index)->name;
     1.5  }
     1.6  
     1.7 +static int
     1.8 +LINUX_JoystickGetDevicePlayerIndex(int device_index)
     1.9 +{
    1.10 +    return -1;
    1.11 +}
    1.12 +
    1.13  static SDL_JoystickGUID
    1.14  LINUX_JoystickGetDeviceGUID( int device_index )
    1.15  {
    1.16 @@ -1100,6 +1106,7 @@
    1.17      LINUX_JoystickGetCount,
    1.18      LINUX_JoystickDetect,
    1.19      LINUX_JoystickGetDeviceName,
    1.20 +    LINUX_JoystickGetDevicePlayerIndex,
    1.21      LINUX_JoystickGetDeviceGUID,
    1.22      LINUX_JoystickGetDeviceInstanceID,
    1.23      LINUX_JoystickOpen,