How to Restrict Mouse Movement on a Specific Axis
Let me start by saying I’m not sure who might need today’s utility or why. Nevertheless, I can’t help but share this discovery.
The application MouseAxisLocker is available for Windows and can run without installation. Its sole purpose is to restrict mouse cursor movement along the horizontal, vertical, or diagonal axis.
To enable or disable movement restriction, simply press the corresponding hotkey.