Skip to content

Commit

Permalink
Added a note not to use XinputUap.dll for XInput support
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 22, 2020
1 parent 600a2fc commit f176d7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/windows/SDL_xinput.c
Expand Up @@ -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) {
Expand Down

0 comments on commit f176d7f

Please sign in to comment.