keywords: temporarily lock mouse, trap mouse, lock keyboard, no input, no movement
Arrest the mouse pointer and buttons in a Window, temporarily.
Works on Windows XP, Windows 7, Windows 10 x32 and x64 alike.
Press ESC to end & release (onscreen instructions).
Default timeout is set to approx 3.25 minutes (onscreen instructions).
If you just want to double click to trap your mouse (input device) to, i.e. pysically clean it.
Actually also traps the basic input of your keyboard - except for the ESCape key (Win, ALT+Tab and special shortcuts like that are not trapped).
Happy cleaning!
(c)1/2023 by WS/Genesis*Project
Blitz3D 1.108 Syntax -- Written in IDEal 0.8.94 (Actually, ChatGPT3 helped a little to code this)
Precompiled .exe is provided for download in /executable
There is no x64 Win executable for real, but the x32 version works just fine even on x64 Windows 10.
--> Mousearrest_win32.exe -- uses Vblank in the mouse polling loop and leaves some freedom of movement.
--> Mousearrest_novblank_win32.exe -- uses no Vblank and strictly locks the mouse, timer might go fast.
No shoes, no shirt, no support. No exceptions.
You can easily build your own version, any alleged suspicious activity that is being assumed by the OS is bs.
Blitz3d: https://blitzresearch.itch.io/blitz3d
IDEal IDE: https://web.archive.org/web/20070704181040/http://www.fungamesfactory.com/download.php?get=IDEalSetup_0.8.87.exe