Glossary:Mouse locking

From PCGamingWiki, the wiki about fixing PC games
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.

Windows[edit]

Special K[edit]

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.
See Special K > Mouse locking for instructions.

Borderless Gaming[edit]

Global hotkey (Scroll lock) for locking the cursor.
Lacks automatic cursor lock during game focus.

Clip Cursor[edit]

Allows locking the cursor to any running applications.
Program doesn't see windows that were opened subsequently.

Dual Monitor Tools[edit]

Use Dual Monitor Tools
  1. Download Dual Monitor Tools from here, extract to any folder.
  2. Launch DMT.exe
  3. Under the Cursor tab, set the hotkeys for Cursor free to move between screens, and Lock cursor onto screen.
  4. Uncheck Allow cursor to move freely if this key is pressed and Allow cursor to move freely if this button is pressed.

Cursor Lock[edit]

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
  1. Download and open Cursor Lock.
  2. Select Program Mode on the first tab.
  3. Set the executable of the game in the Open Program field.
  4. Click Create Shortcut, and run the game using this shortcut.

MouseJail[edit]

Latest version was released 2002. Compatibility with modern games and operating systems might therefore not be high.
Use MouseJail
  1. Download MouseJail from here.
  2. Copy MouseJail.exe to the Windows directory (C:\WinNT or C:\Windows) or in a directory accessible in the PATH environment variable.
  3. Insert MouseJail.exe at the start of the Target field of a shortcut to the game.

References