Quote:
Original post by Hodgman
I think there is a Win32 function that locks the cursor within a certain rect - do you guys think its possible to write a 3rd party app that dual-monitor users could run before running a game to fix the lack of support?
It would be much better than disabling our monitors.
I'm also using dual monitors and have been annoyed by some games not limiting the mouse cursor to the screen the game runs on. In strategy games, it's bearable most of the time since I know where my cursor is, but there have even been some FPS games where, instead of firing at the enemy in front of me, my mouse button mimized the game because the cursor was on the other screen :(
I'm now using this small program to get around the problem:
MouseJail.
You specify the .exe it should launch on the command line and the mouse will be limited to the screen the program's main window is on as long as it is in the foreground. I can even Alt+Tab away, move the mouse over my whole desktop, Alt+Tab back into the game and it will be limited again.
The only inconvenience so far is when a game uses some kind of launcher application, where I had to track down the actual game executable and directly launch that with MouseJail.