Skip to main content
GameDev.net gamedev.net
🔒 Locked

DirectInput state problems

Started by pdriggett Sep 21, 2005 at 7:27 AM 0 replies 450+ views
Original Post
pdriggett
pdriggett
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
GodlyGamr
GodlyGamr
I'd love to try and help, but the best thing you can do for all of us here is to post your DirectInput code so we can take a look.

-Jeff

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.