Is the GetDeviceState method returning an error?
directinput problem
when I call GetDeviceState, i put it into a DIMOUSESTATE structure, but im not getting a response to the _.lX, _.lY, _lZ parameters, however I do get a response, some giberish, perhaps Im doing soething wrong?
thanks
[This message has been edited by Emagen (edited September 19, 1999).]
Im having problems with my directiput:
I have the DI object created, aquired, etc.. the problem is I cant get data out of my mouse, movements, buttons etc. Can someone tell me how to get that data, thanks
thank you
mouse data returned by GetDeviceState is by default, relative. that is, if the user didn't move the mouse since you last called GetDeviceState, the X Y and Z values will be zero. those values tell you how much the mouse has moved since last time
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement