src/joystick/bsd/SDL_sysjoystick.c
changeset 12359 691c32a30fb9
parent 12106 94f9bf5b9c36
child 12378 61b267339239
     1.1 --- a/src/joystick/bsd/SDL_sysjoystick.c	Thu Oct 25 13:22:34 2018 -0700
     1.2 +++ b/src/joystick/bsd/SDL_sysjoystick.c	Thu Oct 25 16:53:14 2018 -0700
     1.3 @@ -227,6 +227,12 @@
     1.4      return (joynames[device_index]);
     1.5  }
     1.6  
     1.7 +static int
     1.8 +BSD_JoystickGetDevicePlayerIndex(int device_index)
     1.9 +{
    1.10 +    return -1;
    1.11 +}
    1.12 +
    1.13  /* Function to perform the mapping from device index to the instance id for this index */
    1.14  static SDL_JoystickID
    1.15  BSD_JoystickGetDeviceInstanceID(int device_index)
    1.16 @@ -687,6 +693,7 @@
    1.17      BSD_JoystickGetCount,
    1.18      BSD_JoystickDetect,
    1.19      BSD_JoystickGetDeviceName,
    1.20 +    BSD_JoystickGetDevicePlayerIndex,
    1.21      BSD_JoystickGetDeviceGUID,
    1.22      BSD_JoystickGetDeviceInstanceID,
    1.23      BSD_JoystickOpen,