[Question] Auto Center Mouse
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 20
- Joined: Wed, 6. Nov 02, 20:31
[Question] Auto Center Mouse
Does anybody know, if you can control the mouse location in the game using a script? I'm using mouse/keyboard combination and it is really annoying that, every time I leave a menu/screen back into the cockpit view, my ship starts spinning, because I forgot to center the mouse before doing so or forgot to turn off mouse steering. So a simple script centering your mouse, or even turn off mouse steering automatically as soon as you enter anything else but cockpit view, could do the trick.
Two possibilities exist: either we are alone in the universe or we are not. Both are equally terrifying. (Arthur C. Clarke)
Gnothi Seauton!
Gnothi Seauton!
-
- Posts: 391
- Joined: Sun, 9. Nov 08, 03:07
Re: [Question] Auto Center Mouse
iirc it already recenters when you are using a controller, or maybe just a gamepad, I saw something about it in the map menu code.
-
- Posts: 20
- Joined: Wed, 6. Nov 02, 20:31
Re: [Question] Auto Center Mouse
Thanks for the hint, but up until now I only found, how to determine whether the player is using mouse steering at the moment or not.
Will keep looking.
Will keep looking.
Two possibilities exist: either we are alone in the universe or we are not. Both are equally terrifying. (Arthur C. Clarke)
Gnothi Seauton!
Gnothi Seauton!