Added a note not to use XinputUap.dll for XInput support default tip
authorSam Lantinga <slouken@libsdl.org>
Fri, 22 May 2020 16:45:02 -0700
changeset 13846599a8525ff0e
parent 13845 210fb62f0c96
Added a note not to use XinputUap.dll for XInput support
src/core/windows/SDL_xinput.c
     1.1 --- a/src/core/windows/SDL_xinput.c	Thu May 21 04:01:37 2020 -0400
     1.2 +++ b/src/core/windows/SDL_xinput.c	Fri May 22 16:45:02 2020 -0700
     1.3 @@ -82,6 +82,10 @@
     1.4          return 0;  /* already loaded */
     1.5      }
     1.6  
     1.7 +    /* NOTE: Don't load XinputUap.dll
     1.8 +     * This is XInput emulation over Windows.Gaming.Input, and has all the
     1.9 +     * limitations of that API (no devices at startup, no background input, etc.)
    1.10 +     */
    1.11      version = (1 << 16) | 4;
    1.12      s_pXInputDLL = LoadLibrary(L"XInput1_4.dll");  /* 1.4 Ships with Windows 8. */
    1.13      if (!s_pXInputDLL) {