Skip to content

wertstahl/Mousearrest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mousearrest

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).

USECASE

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)



BINARY / EXECUTABLE

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.


SUPPORT

No shoes, no shirt, no support. No exceptions.

MALWARE

You can easily build your own version, any alleged suspicious activity that is being assumed by the OS is bs.

PREREQUISITES


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

About

Trap the Mouse Pointer in a Window to (for example) clean your Mouse or Keyboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published