How to lock your mouse inside a game on a dual monitor setup.


Recommended Posts

How to lock your mouse in a game on a dual monitor setup. v1.11

Today I?m going to show you how to keep your mouse inside a game if you have a multiple monitor setup. Sometimes with a multiple monitor setup when you move your mouse from left to right inside the game the mouse can leave the game and move to a different monitor. If while your mouse is on the other screen you click (thinking you are still in the game) it can alt + tab you out of the game and in some cases crash it. Most people have no issue with this and their mouse behaves just like it should, for others it's a pain the ass.

Recently while playing the new Tomb Raider my mouse refused to stay inside the monitor the game was on. While looking around the internet I found a bunch of suggestions most of which didn?t work, but there was one that did.

The free program is called

Dual Monitor tools

http://dualmonitorto...ourceforge.net/

snapwindow.jpg

So what does Dual Monitor Tools do? Before you start a game you will press a key combination (which you will configure below). This will lock the mouse inside the screen; it will not be able to go to any of your other monitors until you press that same key combination again. In doing this it also locks your mouse inside the game.

The program comes as a zip file and requires no installation. To use the application simply unzip it to a directory of your choice.

Step 1) Open the directory you just extracted the zip to

Step 2) Double click ?SwapScreen.exe?

Step 3) Right click Swap Screen next to your clock

Step 4) Left click Options

Step 5) Left click on the ?Cursor? tab

Step 6) Go down under ?Lock Cursor onto screen? and click ?Change?. Now select a key combination of your choice.

Step 5) Click close.

That?s it! You are finished! Hurray!

Edited by warwagon

I've been playing many games on a multimonitor hookup, and the games have always locked the mouse inside automatically...?

  • Like 4

I've been playing many games on a multimonitor hookup, and the games have always locked the mouse inside automatically...?

Yep it should lock your mouse automatically, but sometimes people have issues. If they do they can use this.

Some people need a second monitor on during gaming, but if you don't, I would disable it. Activate the charms menu (upper or lower right corner), then go to devices, second screen and select PC screen only or second screen only if that's what you play on, the screen will go to sleep so you don't need to turn it off. Then after gaming go back and redo it except select extend (or duplicate if you use that). Uses less gpu memory, keeps the gpu cooler, and avoids the mouse moving between screens issue. If not using Windows 8 or 2012, you can do it with right click desktop->screen resolution, or maybe there's some program to automate the process out there.

Can people not just be thankful that he went to the trouble of putting this together? You might not have the issue but others do, I for one haven't encountered any issues with the mouse locking but now if I do or if someone asks me about it I know of a new program that could help out so thanks for bringing it to my attention!

  • Like 7

Some people need a second monitor on during gaming, but if you don't, I would disable it. Activate the charms menu (upper or lower right corner), then go to devices, second screen and select PC screen only or second screen only if that's what you play on, the screen will go to sleep so you don't need to turn it off. Then after gaming go back and redo it except select extend (or duplicate if you use that). Uses less gpu memory, keeps the gpu cooler, and avoids the mouse moving between screens issue. If not using Windows 8 or 2012, you can do it with right click desktop->screen resolution, or maybe there's some program to automate the process out there.

ctrl+P but having the screen on doesn't really affect FPS or temp to any noticeable degree.

Everyone is correct in saying that you can turn off the screens that you don't want to use while playing the game. In my case I want my screens left on so I can monitor downloads and chats. This is a really great and fast solution to quickly lock and unlock your mouse from a particular screen.

Was never a fan of turning off screens either.. can keep an eye on the other displays while gaming and doesn't hurt the framerate any.. typically prefer running games in a borderless "full screen window" when the option is available. Windows in general (especially 7 and 8) has fantastic multimonitor support. Think I've only had one or two oldies that didn't play nicely with multiple displays and lost focus.. annoying when it happened though, and some old games don't take kindly to losing focus either. (Visual issues or even better, splattage.) Used a similar tool called CursorLock to take care of it.

  • 2 months later...

I registered just to say thanks for this recommendation.

This is necessary not only for running borderless windowed mode with multiple displays, but also for disabling mouse scrolling (which the currently most popular game in the world does not allow) in favor of keyboard scrolling.

Btw I know many gamers who are using underdeveloped open source overlay software that functions ONLY when fullscreen mode is disabled.

@replies saying OP's contribution is useless....you really must be sooo bored with your lives to be finding time and reasons for such "critique". I'm glad I'm not you haha

  • Like 3

I registered just to say thanks for this recommendation.

This is necessary not only for running borderless windowed mode with multiple displays, but also for disabling mouse scrolling (which the currently most popular game in the world does not allow) in favor of keyboard scrolling.

Btw I know many gamers who are using underdeveloped open source overlay software that functions ONLY when fullscreen mode is disabled.

@replies saying OP's contribution is useless....you really must be sooo bored with your lives to be finding time and reasons for such "critique". I'm glad I'm not you haha

Weclome to Neowin! :D

  • 3 weeks later...

I also wanted to reply so Im a new registrant.

Thanks for this suggestion. It does holp a lot in this case.

 

I still have a problem, though that I am struggling with.

Windows 8 has that "charms Bar" on the right and the App bar on the left. When in windowed mode it will activate these corners when my mouse travels over them. This is a pain because if I click and i'm over there it activates whatever item I am hovering over.

 

I'm looking for an ability to disable these menus on one monitor and leave it active on the other. Now it will activate no matter what monitor corner I hover over.

 

Thoughts?

 

I'm going to try Classic Shell.

http://www.askvg.com/classic-shell-get-classic-start-menu-and-explorer-toolbar-buttons-cut-copy-paste-etc-back-in-windows-vista-and-7/

 

It has the ability to disable the Charms bar. I'll report back. In War Thunder (game) I am constantly getting that charms bar showing up so hopefully this will help.

I noticed this happening when the Windows 8 Preview came out last year and even after putting the full version on with my dual monitor setup. Mouse just leaves my game of Sins of a Solar Empire: Rebellion when I scroll around the edge. Thanks for this warwagon!

  • 4 weeks later...

I signed up for an account on the forums here, just to say thank you for this suggestion.

 

I've run multiple displays for years, and every once in a while I come across a game that (for whatever reason) I see this problem with.

 

This suggestion worked perfectly, and is certainly worth taking the time to register for a forum account to say Thanks!

  • Like 2
  • 3 weeks later...
  • 1 month later...

Just wanted to thank the OP.

 

I don't use this for games, but for my desktop.  I was having such a hard time finding the sweet spot to activate charms, etc. on my center monitor in my 3 monitor setup.  This tool allows me to make the cursor "sticky", making it much easier. 

 

This is the kind of thing that should be built into Windows 8.

 

Thanks again!

  • 2 months later...
  • 3 weeks later...

I also registered just to say thank you! this was preventing me from playing FO3 the way I liked. Thanks so much!

 

 

I registered just to say thanks for this recommendation.

This is necessary not only for running borderless windowed mode with multiple displays, but also for disabling mouse scrolling (which the currently most popular game in the world does not allow) in favor of keyboard scrolling.

Btw I know many gamers who are using underdeveloped open source overlay software that functions ONLY when fullscreen mode is disabled.

@replies saying OP's contribution is useless....you really must be sooo bored with your lives to be finding time and reasons for such "critique". I'm glad I'm not you haha

  • 3 weeks later...
  • 1 month later...

I just signed up, just to say thank you. I looked at snakebite's mouse lock, and I didn't like it. This is simplicity at it's best. it does what you want,. and leaves itself open to do more should you choose. Thank you!

 

 

Cheers.

  • 1 month later...

Just for the heck of it I decided to try this with Glactic Starfighter for SWTOR... yeah, as soon as SWTOR is activated as the active program any mouse locking is disabled so it only annoyingly locks the mouse outisde the game if I click somethign when it goes to the other screen...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • OpenClaw now has native mobile apps on iOS and Android by Karthik Mudaliar OpenClaw, the viral open-source personal AI agent, now has its own mobile app, available on both Android and iOS. Users can pair the app with an existing OpenClaw gateway and can start using new mobile-native features that are now available on the app. The app supports all the existing features you'd already have seen on OpenClaw's TUI, as well as some more, such as real-time and background Talk mode, action approvals, sharing from iOS, and optional access to device capabilities such as camera, screen, location, photos, contacts, calendar, and reminders. These features are available on both the Android and iOS versions of the app. What's important with these apps is that they don't run OpenClaw on your phone, but are actually just companion apps that require a running OpenClaw Gateway on an existing device, on macOS, Linux, or Windows via WSL2. To pair the app with your existing OpenClaw gateway, users need to run the command "/pair qr" on the TUI or existing chat interface, which brings up a QR code. Users can then scan this QR code to pair it up with the mobile app. There's also an option to manually pair the app by entering the host and a port. Previously, OpenClaw had been available on phones via WhatsApp, Telegram, Slack, Discord, Microsoft Teams, Matrix, and others. Now, with a native mobile app, the interface is much cleaner and more focused on just the OpenClaw, of course, with the added support for camera, screen, location, and more. It's important to note that OpenClaw comes with its own security warnings. There's always a chance of prompt injection with these tools, so users are recommended to double-check authentication, tool policy, sandboxing, and execution approvals rather than prompts alone. For users well-versed with the AI harness, a native mobile app makes it easier to approve an automation, share a link, use voice, or let an agent react to phone-side context.
    • Google pitches Spanner as one database for all AI agents with these new featues by Karthik Mudaliar Google Cloud is introducing new features within Spanner, its distributed database, as a place where enterprises should keep their data, using which AI agents could make smarter and better decisions. In a detailed blog post, Google highlighted quite a few features coming to Spanner, including relational data, graph relationships, vector search, key-value access, full-text search, and operational analytics together in one database architecture. Google says that today's systems aren't well-made for AI agents. There could be data that is present in one system, search indexes in another, embeddings in a vector database, and relationship data in a graph database. This fragmentation isn't great for AI agents to do their jobs because they don't have access to all of this data in one place. This is where Google is positioning Spanner as a solution. Spanner is already a globally distributed relational database with strong consistency, and Google wants its customers to see it as a broader data layer for AI applications. The company introduced something called Spanner Graph, along with integrated vector search, full-text search, a Cassandra-compatible key-value endpoint, and a columnar engine for analytical queries on operational data. Google also added that its ScaNN-powered vector search can support indexes with more than 10 billion vectors, while the columnar engine can make some analytical scans up to 200 times faster. All of this isn't just exclusive to the Google Cloud Platform, and there's support for multi-cloud as well. This comes via Spanner Omni, which Google says is a downloadable, containerized version of Spanner that can run on Kubernetes and in environments outside Google Cloud, including Microsoft Azure and AWS, and even on-premises infrastructure as well as edge deployments. Google says that customers who are interested in the full-featured edition should contact the company, and there's no word on commercial availability or separate pricing. Those interested can read the full blog by Google Cloud, which details these features individually.
    • Kalmuri 4.2.5 by Razvan Serea Kalmuri is your all-in-one, portable screen capture and recording solution designed for speed, simplicity, and flexibility. Whether you need a full-screen snapshot, a custom area, a scrolling webpage, or smooth video recording, Kalmuri delivers with ease. Capture text instantly from images with built-in OCR, keep floating images on top for quick reference, and use the precise color picker for perfect design matching. Customize hotkeys to work your way and share results instantly with built-in upload options. Kalmuri runs without installation, making it ideal for USB use, and offers an intuitive interface that’s easy to learn. Kalmuri key features: Video recording support (designation of whole screen and area) Whole screen, active program, window control, area application Extract text from images using optical character recognition (OCR). Support for PNG, JPG, WEBP, BMP, GIF file formats MP4 video recording powered by FFmpeg for high-quality results Full web page capture Share the captured image on the web Color extraction function Printer output Hotkey settings Adjustable via keyboard for area capture (Arrow key, Ctrl+Arrow key, Shift+Arrow key) File name format (sequential, datetime) Free to use it at work, at home, in government offices, at school, etc. Using Kalmuri portable for video recording Kalmuri’s portable version doesn’t include FFmpeg, which is required for video recording. Without it, you’ll get an “error FFmpeg.exe not found” message. To fix this, download FFmpeg from the provided link, extract it, and place FFmpeg.exe in Kalmuri’s folder. Kalmuri will then recognize it automatically, allowing you to start recording in high quality instantly. Kalmuri 4.2.5 changelog: Fixed an intermittent crash when using Area Capture Improved stability for Area Capture and screen recording Resolved a capture issue that could occur right after startup Download: Kalmuri 4.2.5 | 24.2 MB (Freeware) Download: Kalmuri Portable 4.2.5 | 2.1 MB View: Kalmuri Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • They have lots of info on me, I have a facebook account and have done so for years, it was the thing to have then. My phone number is not on it. I don't have the Facebook app on my phone these days, just the messenger part, and only for a couple of people to contact me, most will text me via SMS or phone. I agree, Meta, like others, even without an account will know something about me. Just have to try and keep some things private Also, never saw the need for Whatsapp, people used to ask for me to join it, but as I said to them, I have SMS and a phone, use that, or email
  • Recent Achievements

    • First Post
      rosiecharles earned a badge
      First Post
    • Reacting Well
      Juan Dela earned a badge
      Reacting Well
    • Week One Done
      Collagen Project earned a badge
      Week One Done
    • Reacting Well
      Wakeen1966 earned a badge
      Reacting Well
    • Rookie
      Almohandis went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      273
    3. 3
      PsYcHoKiLLa
      143
    4. 4
      Steven P.
      98
    5. 5
      macoman
      54
  • Tell a friend

    Love Neowin? Tell a friend!