How to disable mouse movement in any game with the help of hot keys on the keyboard?

I'd love to have such a simple option to disable mouse movement(mouse button function, only the movement) in any of the programs and games with hot keys on the keyboard (1st mode by pressing 2nd mode on/off) due to physiological features. Please tell me possible options of implementation. Scripts (AHK) does not affect the movement of the mouse in DirectX applications.
April 19th 20 at 12:06
0 answer

Find more questions by tags DirectXWindows