I`m trying to add DirectInput support to a little game I`m writing. I`ve run up against this wall though. When I compile my code I get the warning:
and then the code
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
does fail so I can`t that I can`t get DirectInput up and running. I`m using the March 2006 DirectX SDK (got it from a book I`m using). Am I missing something here?
if(FAILED(DirectInput8Create(hInstance, DIRECTINPUT_VERSION, IID_IDirectInput8,
(void **)&m_InputSystem, NULL))) return false;