src/joystick/darwin/SDL_sysjoystick.c
changeset 12359 691c32a30fb9
parent 12115 0d9277d27e2d
child 12503 806492103856
     1.1 --- a/src/joystick/darwin/SDL_sysjoystick.c	Thu Oct 25 13:22:34 2018 -0700
     1.2 +++ b/src/joystick/darwin/SDL_sysjoystick.c	Thu Oct 25 16:53:14 2018 -0700
     1.3 @@ -700,6 +700,12 @@
     1.4      return device ? device->product : "UNKNOWN";
     1.5  }
     1.6  
     1.7 +static int
     1.8 +DARWIN_JoystickGetDevicePlayerIndex(int device_index)
     1.9 +{
    1.10 +    return -1;
    1.11 +}
    1.12 +
    1.13  static SDL_JoystickGUID
    1.14  DARWIN_JoystickGetDeviceGUID( int device_index )
    1.15  {
    1.16 @@ -998,6 +1004,7 @@
    1.17      DARWIN_JoystickGetCount,
    1.18      DARWIN_JoystickDetect,
    1.19      DARWIN_JoystickGetDeviceName,
    1.20 +    DARWIN_JoystickGetDevicePlayerIndex,
    1.21      DARWIN_JoystickGetDeviceGUID,
    1.22      DARWIN_JoystickGetDeviceInstanceID,
    1.23      DARWIN_JoystickOpen,