Alright, bear with me. I am for the first time (surprisingly) venturing out into DirectX programming. I've created a 2D game engine that uses the, new since DirectInput8, action maps to generically define controls for any devices attached to the system. My problem is that I am attempting to paint a cursor on the game screen at the point where the mouse cursor lies. I need mouse input, so I have mapped DIMOUSE_BUTTON0, but doing that automatically forces the acquiring of the mouse and thus calls to GetCursorPos() are screwed. In trying to fix the problem, I mapped DIMOUSE_XAXIS and DIMOUSE_YAXIS. When polled the dwData they send is something I could use some help understanding because it is always a short distance (under 5) and sometimes negative.
Might you know of any other way to determine the cursor position while it is acquired by DirectInput?
I guess I could just create a mouse input device to deal with that specific guy independently... But still, if you have any other solutions, please let me know.