Merge #1951: Fix XInput library linkage for compatibility down to Windows Vista

This commit is contained in:
Tracy Ward
2020-02-07 07:42:09 -05:00
committed by GitHub
@@ -14,7 +14,11 @@
#include "InputHandler_DirectInputHelper.h"
#ifdef NTDDI_WIN8 // Link to Xinput9_1_0.lib on Windows 8 SDK and above to ensure linkage to Xinput9_1_0.dll
#pragma comment(lib, "Xinput9_1_0.lib")
#else
#pragma comment(lib, "xinput.lib")
#endif
#include <XInput.h>
#include <WbemIdl.h>