Possible workaround for XNA absolute to relative mouse coordinates…

I haven’t had a chance to really read too much into the subject, but apparently there is a bit of a workaround to get past the absolute mouse coordinates in XNA. The basic jist of it is that you set the mouse cursor position to the center of the window when the application starts. Each frame, when you check to see how much the mouse has moved, you reset the mouse position back to the center of the screen. A bit hackish, but supposedly it works. You can read about it here, here, and

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s