I know I'm necroing hard, but anyway: Is there some progress with this mouse script since 2016? I really like how it works, especially pink_supervisor's modification which supports keyboard instead of mouse middle button. However, is there any way to reset the mouse every time you press the toggle button? The way it works now, when you switch to standard mouse control (eg. for aiming), the cursor is messed up when you switch back. The ship usually starts turning like a mad dog in an unpredictable direction. One would say the script simply needs a line where it says to reset the mouse every time the toggle button is pressed. I can't script absolutely anything, but is there anybody who could improve this script, after all those years? In any other way I find it quite amazing.