Game Development Community

XInput

by Ken Lane (3Dsolve) · in Torque Game Engine Advanced · 10/19/2006 (9:34 am) · 1 replies

I'm using VS 7.1 and the Release_0_4_5 tse sources, and when I build the SDK solution, I'm getting an error that "fatal error C1083: Cannot open include file: 'xinput.h'". I've search my entire c drive and I don't have a 'xinput.h' file anywhere. So, I've searched around looking for this file and library and I haven't been able to find anywhere that I can get this library/header??? I did find a link on microsoft's website to an installer that looked like just what I needed, but that installer will not run. It comes up with a dialog that says 'installation not complete'. Oh Joy!

Anyone have any suggestions on how to work around this?? Should I checkout an earlier version of the sources??

Thanks, Scott

#1
10/19/2006 (10:02 am)
Make sure you have the latest DirectX SDK installed (not just the end user runtimes). XInput.h is included with it. You can always find the latest DirectX here. And currently it is the October 2006 one here.