title: XNA Mouse Movement
body: <p>I've made a few games in XNA before and I'm about to start a new project. One thing I'd like to do is have the mouse movement.</p>
  
  <p>Just to clarify (as I've seen some similar questions lead to confusion) I want to get the movement of the mouse. Not the position of the cursor or the change in position from one frame to the next. I would simply like data about how the mouse has been moved. </p>
  
  <p>In my previous game I simply reset the (hidden) cursor to the middle of the viewport and looked at the change in position. However this seems at little bit of a cheat and leads to some messy looking calculations in my code.</p>
  
  <p>So is there any way to have the mouse movement returned to the program?</p>
  
  <p>Thanks,
  Matt</p>
  
  <p>Edit:</p>
  
  <p>In response to first comment. The position of the cursor I'm refering to in this case is the position onscreen of the mouse pointer. The movement of the mouse I'm refering to is pysically moving the mouse. </p>
  
  <p>XNA seems to have the word mouse to be synonymous with pointer (or cursor).</p>
  
  <p>The problems I'm having is that despite the mouse moving left, I can't get that movement in the program as the cursor is at the edge of the screen.</p>