Original Post
Hi! I've got an odd problem with DirectInput. I'm writing 3D game and I want to get coordinates of the cursor and show them on the screen. I'm using DIMOFS_X and MSDN tutorial. When I move cursor without moving camera everything is alright. The problem appears when I'm rotating a camera nad moving it forward... Than my X coordinate shows some crazy values, once < 0, once > 0. These are really big numbers and I have no idea where they come from. I would be very grateful for anyone, who can see any solution for this...