Closed herdinstinct closed 7 years ago
I'm guessing you already solved your issue, but for future reference I'll answer here.
DirectX Tool Kit supports a wide combination of Microsoft platforms. As noted on the wiki, there are a number of different projects.
The Windows.Gaming.Input.h
header is used by GamePad
when building for Windows 10, typically for a Universal Windows Platform (UWP) app. The DirectXTK_Windows10.vcxproj
is configured to use VS 2015 and the Windows 10 Anniversary Update SDK (14393) via the latest Windows Tools package for VS 2015, and has _WIN32_WINNT
set to 0x0A00
to indicate building for Windows 10.
If you are targeting another platform, then be sure to set _WIN32_WINNT
to the appropriate value: 0x0601
for Windows 7, 0x0603
for Windows 8.1, etc. This is already configured in the other vcxproj
files.
I just attempted to build after downloading but am unable to due to a missing windows.gaming.input.h. There is little information on where to find this file when googling. Any advice?