I’m having trouble with the region the mouse cursor is able to travel. It seems to restrict itself from 0,0 to 1492, 969. It moves fine while in that region, but won’t go out any farther. When I move the mouse out of that area, it is stuck, as if there’s an invisible fence. If I move the mouse out of the drawable area, it appears in the toolbar where I expect it to be.
I’m using a Surface Book, with a resolution of 3000x2000. Despite setting the back buffer to 1920x1080, it makes the window 3000x2000.
Monogame version 3.5.1.1679. I installed it using the latest installer on monogame.net.
What am I doing wrong? Do I need to configure the mouse or screen differently?
Here’s my Game class:
https://bitbucket.org/nsinha/monogame_restrictedmousebug/src/673bd1645a307ea0c6727b0ba81e92bf0580e6cf/MouseTest/Game1.cs?at=master&fileviewer=file-view-default
Here’s my repo:
https://bitbucket.org/nsinha/monogame_restrictedmousebug/src/673bd1645a307ea0c6727b0ba81e92bf0580e6cf?at=master