Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Glossary:Mouse locking"

From PCGamingWiki, the wiki about fixing PC games
(Initial commit.)
 
m (→‎[https://www.snakebytestudios.com/projects/apps/cursor-lock/ Cursor Lock]: General maintenance with AutoWikiBrowser in Bot mode)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ii}} 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 window mode.
+
{{ii}} 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.
 
'''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.
Line 5: Line 5:
 
==Windows==
 
==Windows==
  
===[http://www.snakebytestudios.com/projects/apps/cursor-lock/ Cursor Lock]===
+
===[[Special K]]===
{{Fixbox|description=Cursor Lock|ref={{cn|date=June 2017}}|fix=
+
{{++}} Easy to configure in-game GUI. Allows for restricting the mouse cursor in both exclusive fullscreen as well as windowed modes.  
# Download and open [http://www.snakebytestudios.com/projects/apps/cursor-lock/ Cursor Lock].
+
{{--}} Requires games to use an API Special K supports, making it incompatible with some games.
# Select "Program Mode" on the first tab.
 
# Set the game's .exe in the "Open Program" field.
 
# Click "Create Shortcut", and run the game using this shortcut.
 
}}
 
 
 
===[http://steamcommunity.com/sharedfiles/filedetails/?id=933337066 Special K]===
 
 
{{Fixbox|description=See [[Special K#Mouse locking|Special K > Mouse locking]] for instructions.}}
 
{{Fixbox|description=See [[Special K#Mouse locking|Special K > Mouse locking]] for instructions.}}
 
===[http://community.pcgamingwiki.com/files/file/26-clip-cursor-including-source Clip Cursor]===
 
{{ii}} Allows locking the cursor to any running applications.
 
{{--}} Program doesn't see windows that were opened subsequently.
 
  
 
===[https://github.com/Codeusa/Borderless-Gaming Borderless Gaming]===
 
===[https://github.com/Codeusa/Borderless-Gaming Borderless Gaming]===
Line 24: Line 14:
 
{{--}} Lacks automatic cursor lock during game focus.
 
{{--}} Lacks automatic cursor lock during game focus.
  
===MouseJail===
+
===[http://community.pcgamingwiki.com/files/file/26-clip-cursor-including-source Clip Cursor]===
{{Fixbox|description=Use MouseJail|fix=
+
{{ii}} Allows locking the cursor to any running applications.
Download MouseJail from [http://www.dr-hoiby.com/MouseJail/ here]
+
{{--}} Program doesn't see windows that were opened subsequently.
  
Insert at the start of your "Target" field : "MouseJail.exe" ( for example : "{{p|game}}\gta3.exe" => "MouseJail.exe {{p|game}}\gta3.exe").
+
===[http://dualmonitortool.sourceforge.net/dmt_swapscreen.html Dual Monitor Tools]===
 +
{{Fixbox|description=Use Dual Monitor Tools|fix=
 +
# Download Dual Monitor Tools from [http://dualmonitortool.sourceforge.net/download.html here], extract to any folder.
 +
# Launch {{file|DMT.exe}}
 +
# 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'''.  
 +
}}
  
On Steam set launch options to <code>MouseJail.exe %command%</code>
+
===[https://www.snakebytestudios.com/projects/apps/cursor-lock/ Cursor Lock]===
 +
{{ii}} 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.
 +
{{Fixbox|description=Use Cursor Lock|fix=
 +
# Download and open [https://www.snakebytestudios.com/projects/apps/cursor-lock/ 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.
 
}}
 
}}
  
===Dual Monitor Tools===
+
===[http://www.dr-hoiby.com/MouseJail/ MouseJail]===
{{Fixbox|description=Use Swap Screen from Dual Monitor Tools|fix=
+
{{ii}} Latest version was released 2002. Compatibility with modern games and operating systems might therefore not be high.
Download Dual Monitor Tools from [http://dualmonitortool.sourceforge.net/index.html here], extract to any folder.
+
{{Fixbox|description=Use MouseJail|fix=
 
+
# Download MouseJail from [http://www.dr-hoiby.com/MouseJail/ here].
Launch "SwapScreen.exe"
+
# Copy {{file|MouseJail.exe}} to the Windows directory (C:\WinNT or C:\Windows) or in a directory accessible in the <code>PATH</code> environment variable.
 
+
# Insert <code>MouseJail.exe</code> at the start of the '''Target''' field of a shortcut to the game.
Recommended configuration:
+
#* For example <code>{{p|game}}\gta3.exe</code> becomes <code>MouseJail.exe {{p|game}}\gta3.exe</code>
# Under the cursor tab, set the hotkeys for "Cursor free to move between screens", and "Lock Cursor onto screen".
+
#* On Steam set launch options to <code>MouseJail.exe %command%</code>
# Uncheck "Allow cursor to move freely if the left Control key is pressed".  
 
 
}}
 
}}
  
Line 47: Line 48:
  
 
[[Category:Improvement]]
 
[[Category:Improvement]]
 +
[[Category:Hardware]]

Latest revision as of 01:54, 24 December 2022

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

Special K

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

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

Clip Cursor

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

Dual Monitor Tools

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

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

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