Original Post
Working on my current project we came upon a bug in my DirectInput code. I have used DirectInput8 many times but still cannot find where the problem is. When I call GetDeviceState, the returned HRESULT is S_OK, but the mouse structure I passed into the function is filled with all 0. We've stepped through every thing from setup over and over again with all of the results returning OK from every function, but it just won't read input from the mouse. Can anyone think of why this could be taking place with my given information? Thanks