   Direct Input Absolute Mouse Position
  How can I set Direct Input to give me the absolute coordinates whenever there is a DIMOFS_X or DIMOFS_Y message? It says "If the device is in absolute axis mode, the absolute axis coordinate is reported." here but it doesn't say how to set it. Thanks.   
  Try IDirectInputDevice8::SetProperty() using the DIPROP_AXISMODE property.  From the SDK:Quote:DIPROP_AXISMODESets the axis mode. The value being set (DIPROPAXISMODE_ABS or DIPROPAXISMODE_REL) must be specified in the dwData member of the associated DIPROPDWORD structure. See the description of the pdiph parameter for more information. This setting applies to the entire device, so the dwHow member of the associated DIPROPDWORD structure must be set to DIPH_DEVICE.;  I tried that, but now dwData gives me some number off the screen, like 468298451. Is it supposed to be a pointer or something? Here's my code for setting property:    dipdw.diph.dwSize=sizeof(DIPROPDWORD);  //supposed to make absolute, does not work    dipdw.diph.dwHeaderSize=sizeof(DIPROPHEADER);    dipdw.diph.dwObj=0;    dipdw.diph.dwHow=DIPH_DEVICE;    dipdw.dwData=DIPROPAXISMODE_ABS;    mouse->SetProperty(DIPROP_AXISMODE,&dipdw.diph);;  I remember having problems with this.  DX doesn't support absolute positioning the way you'd think.  The coordinates you are getting are absolute, but they are absolute relative to some point across the world (basically), thus the large numbers.I can't remember how I fixed it, I think I set the cursor at some point on the screen when the app started and then kept track of the coordinates myself with the relative coordinates.   ;  Use relative coordinates.  It works much better.  Also makes it easy to tune cursor speed and all that.Absolute in DirectX just sucks imho.   