Original Post
I'm trying to use direct input, i think i have initialised everything correctly, however i get one error message, "errorC3861: 'KEYDOWN' identifiernot found, even with argument-dependant lookup" is there something simple i am missing or is it because direct input is not set up correctly, section of code below: void CGame::ProcessKeyboard() { char KeyboardState[256]; if(FAILED(m_pKeyboard->GetDeviceState(sizeof(KeyboardState),(LPVOID)&KeyboardState))) { return; } if(KEYDOWN(KeyboardState, DIK_RIGHT)) { objCamera.Rotate_Around_Point(objCamera.mView, 0, CAMERASPEED, 0); }