From f176d7fda0b1139260f24b16a7038d0b09211327 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 22 May 2020 16:45:02 -0700 Subject: [PATCH] Added a note not to use XinputUap.dll for XInput support --- src/core/windows/SDL_xinput.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/windows/SDL_xinput.c b/src/core/windows/SDL_xinput.c index 06d54aa119c92..b0963d0f4454e 100644 --- a/src/core/windows/SDL_xinput.c +++ b/src/core/windows/SDL_xinput.c @@ -82,6 +82,10 @@ WIN_LoadXInputDLL(void) return 0; /* already loaded */ } + /* NOTE: Don't load XinputUap.dll + * This is XInput emulation over Windows.Gaming.Input, and has all the + * limitations of that API (no devices at startup, no background input, etc.) + */ version = (1 << 16) | 4; s_pXInputDLL = LoadLibrary(L"XInput1_4.dll"); /* 1.4 Ships with Windows 8. */ if (!s_pXInputDLL) {