I was following along with the video and was getting a compile error when I tried to do the loop that was going over the controller indexes. XUSER_MAX_COUNT is undefined.
I assume that constant is defined in the xinput.h file. For now I am just using the direct value of 4, but I think Casey was able to compile with that defined constant.
I also noticed when he opened the xinput.h file, his looked vastly different from mine. Mine only has the header definition for xinput9_1_0.dll, and doesn't even mention xinput1_4.dll as a possible value. Where did he get the updated xinput.h file?
Is that something that is bundled with VS 2013? I'm using VS 2010.
Thanks!