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

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.

Overview
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
Lock to Monitor holds it on the screen it is on, or on a screen you choose.

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

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

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

The lock is set again ten times a second, since Windows drops it when you switch windows.
The key shows LOCKED with the name of the screen or window, read from what Windows reports.
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.
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
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.
FAQ
Short answers to what people ask before they add it.
Email contact
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.
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.
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.
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.
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
Works on Windows 10 or later with the Stream Deck app 6.9 or later.
A Stream Deck plugin sold on the Elgato Marketplace.
Works on Windows 10 or later with the Stream Deck app 6.9 or later.
Get it on the Elgato MarketplaceOne-time purchase on the Elgato Marketplace, shown there in your own currency.