Archived

This topic is now archived and is closed to further replies.

Emagen

directinput problem

Recommended Posts

Guest Anonymous Poster   
Guest Anonymous Poster
Can you be more specific?

Is the GetDeviceState method returning an error?

Share this post


Link to post
Share on other sites
Emagen    122
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).]

Share this post


Link to post
Share on other sites
Emagen    122
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

Share this post


Link to post
Share on other sites
mutex    1111
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

Share this post


Link to post
Share on other sites