src/joystick/windows/SDL_windowsjoystick.c
changeset 13872 75c33f89d791
parent 13480 6a144eb5e1f1
child 13873 5bb6be4f2425
     1.1 --- a/src/joystick/windows/SDL_windowsjoystick.c	Fri May 29 13:05:37 2020 +0100
     1.2 +++ b/src/joystick/windows/SDL_windowsjoystick.c	Fri May 29 13:37:21 2020 -0700
     1.3 @@ -555,6 +555,12 @@
     1.4      s_bDeviceRemoved = SDL_FALSE;
     1.5  }
     1.6  
     1.7 +static SDL_bool
     1.8 +WINDOWS_JoystickGetGamepadMapping(int device_index, SDL_GamepadMapping *out)
     1.9 +{
    1.10 +    return SDL_FALSE;
    1.11 +}
    1.12 +
    1.13  SDL_JoystickDriver SDL_WINDOWS_JoystickDriver =
    1.14  {
    1.15      WINDOWS_JoystickInit,
    1.16 @@ -570,6 +576,7 @@
    1.17      WINDOWS_JoystickUpdate,
    1.18      WINDOWS_JoystickClose,
    1.19      WINDOWS_JoystickQuit,
    1.20 +    WINDOWS_JoystickGetGamepadMapping
    1.21  };
    1.22  
    1.23  #endif /* SDL_JOYSTICK_DINPUT || SDL_JOYSTICK_XINPUT */