mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Added a note not to use XinputUap.dll for XInput support
This commit is contained in:
parent
600a2fc7c3
commit
f176d7fda0
@ -82,6 +82,10 @@ WIN_LoadXInputDLL(void)
|
|||||||
return 0; /* already loaded */
|
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;
|
version = (1 << 16) | 4;
|
||||||
s_pXInputDLL = LoadLibrary(L"XInput1_4.dll"); /* 1.4 Ships with Windows 8. */
|
s_pXInputDLL = LoadLibrary(L"XInput1_4.dll"); /* 1.4 Ships with Windows 8. */
|
||||||
if (!s_pXInputDLL) {
|
if (!s_pXInputDLL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user