GRAMSHIFTGet it
Cursor Lock Keys for Windows icon
Cursor Lock Keys for WindowsStream Deck plugin for Windows

Lock your mouse to one monitor from a Stream Deck key

Lock the mouse to one monitor or to a game window with one key, so it stops slipping onto the other screen.

One-time purchase on the Elgato Marketplace, shown there in your own currency.

Or buy direct from GRAMSHIFT: same amount as on the Elgato Marketplace, plus any tax at checkout. One license key for up to 3 computers. The direct copy goes online to check its license key.

Cursor Lock Keys for Windows: Lock your mouse to one monitor from a Stream Deck key

Overview

What Cursor Lock Keys for Windows does

To lock the mouse to one monitor from a Stream Deck, add Cursor Lock Keys for Windows and press its Lock to Monitor key: the pointer stays on that screen.

On a dual monitor PC, the mouse stays on your game or work instead of slipping onto the other display, and a second press unlocks it.

Features

What you can do

01

Keep the mouse on one screen

Lock to Monitor holds it on the screen it is on, or on a screen you choose.

Keep the mouse on one screen: Lock to Monitor holds it on the screen it is on, or on a screen you choose.
02

Keep the mouse inside a window

Lock to Window holds it inside the active window, such as a borderless game.

Keep the mouse inside a window: Lock to Window holds it inside the active window, such as a borderless game.
03

Jump screens with a key

Cursor to Monitor moves the pointer to the middle of the next screen.

Jump screens with a key: Cursor to Monitor moves the pointer to the middle of the next screen.
04

Step out for a moment

Hold Ctrl, Alt or Shift to let the pointer out, and the lock comes back when you let go.

Step out for a moment: Hold Ctrl, Alt or Shift to let the pointer out, and the lock comes back when you let go.

Also built in

  • Stays locked as you play

    The lock is set again ten times a second, since Windows drops it when you switch windows.

  • See the state

    The key shows LOCKED with the name of the screen or window, read from what Windows reports.

  • Built-in safety

    The lock ends by itself when the screen layout changes, the PC wakes from sleep, the window closes, the lock keys leave the visible page, or Stream Deck quits. A helper process releases the pointer if the plugin is killed.

  • No account and no analytics

    What it reads stays on your PC and is never recorded, and a copy bought directly from GRAMSHIFT goes online only to check its license key.

  • English and Japanese.

Set up

How it works

  1. Install the plugin from the Elgato Marketplace. In the Stream Deck app, drag Lock to Monitor (or Lock to Window) onto a key.
  2. No setup is needed. If you like, choose a screen and a hold-to-leave key in the key's settings.
  3. Press the key to lock the pointer, and press it again to unlock it.

Good to knowThe plugin uses the Windows function ClipCursor, which limits where the mouse pointer can go, and sets it again ten times a second.

Get Cursor Lock Keys for Windows

FAQ

Questions

Short answers to what people ask before they add it.

Something not working?

Email contact@gramshift.com and we will help you get it going. You can also use the support page.

How do I lock my mouse to one monitor with a Stream Deck?

Add a Lock to Monitor key and press it. The pointer stays on the screen it is on (or on the screen you chose in the settings) and cannot slide onto the screen next to it. Press the key again to unlock it.

Can I lock the mouse inside a game window?

Yes. Lock to Window holds the pointer inside the window that is in front when you press, for example a game in a borderless window. While another window is in front, the pointer moves normally and the key says PAUSED; when the game is in front again, the lock is back.

Does it change how my game camera moves?

It limits the pointer only. If a game's camera stops at the edge of the screen, or a click lands on the other screen, the pointer was the cause and a lock can help. Camera movement a game reads directly from the mouse (Raw Input) is unchanged.

Why does the key say NOT HELD in my game?

The game sets its own pointer limit. The plugin leaves a limit that another program set alone, and locks again when the game lets go of it.

What if the pointer stays confined?

Press the lock key again. If the key does not react, quit the Stream Deck app: the plugin releases the pointer when it exits, and a helper process releases it if the plugin is killed.

Requirements

Before you buy

Works with

Works on Windows 10 or later with the Stream Deck app 6.9 or later.

A Stream Deck plugin sold on the Elgato Marketplace.

Limits

  • Windows only (Windows 10 or later). Not for Mac.
  • Lock to Monitor is for PCs with two or more screens.
  • A game that confines the pointer itself can override the lock; the key then says NOT HELD.
  • It limits the pointer only; camera movement a game reads directly from the mouse (Raw Input) is unchanged.
  • Games in exclusive full-screen mode usually handle the pointer themselves, so a lock may not take effect there.
  • Games with anti-cheat software: online games can have their own rules about tools that act on the mouse, so check them before you use one with such a game.

Get Cursor Lock Keys for Windows

Works on Windows 10 or later with the Stream Deck app 6.9 or later.

Get it on the Elgato Marketplace

One-time purchase on the Elgato Marketplace, shown there in your own currency.