dinput.h was taken from the The Microsoft DirectX 8.1b Software Development Kit

The full SDK is available from www.microsoft.com
