Certain games do not lock the mouse inside the actual window, this can result in some rather annoying behaviour on multiple screens or while playing in windowed mode.
Mouse locking refers to constraining the mouse cursor within the window of a game. This is to prevent accidental clicks while the cursor is outside of the game window, causing it to lose focus or possibly even worse. Most games automatically lock the cursor, but for some titles this must be forced through a third-party alternative.
Easy to configure in-game GUI. Allows for restricting the mouse cursor in both exclusive fullscreen as well as windowed modes. Requires games to use an API Special K supports, making it incompatible with some games.
- Scroll lock) for locking the cursor.
Global hotkey ( Lacks automatic cursor lock during game focus.
Allows locking the cursor to any running applications. Program doesn't see windows that were opened subsequently.
Use Dual Monitor Tools
- Download Dual Monitor Tools from here, extract to any folder.
- Under the Cursor tab, set the hotkeys for Cursor free to move between screens, and Lock cursor onto screen.
- Uncheck Allow cursor to move freely if this key is pressed and Allow cursor to move freely if this button is pressed.
Latest version released in 2013 brought with it support for Windows Vista and 7. Support for newer operating systems and games might therefore not be high.
Use Cursor Lock
- Download and open Cursor Lock.
- Select Program Mode on the first tab.
- Set the executable of the game in the Open Program field.
- Click Create Shortcut, and run the game using this shortcut.
Latest version was released 2002. Compatibility with modern games and operating systems might therefore not be high.
- Download MouseJail from here.
MouseJail.exe to the Windows directory (C:\WinNT or C:\Windows) or in a directory accessible in the
PATH environment variable.
MouseJail.exe at the start of the Target field of a shortcut to the game.