• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX:SE Disabling Look Mouse Mode

Messages
531
Country
france
Hello,

Is there a possibility to disable the mouse look mode?
I would like to detect if the mouse look mode is active and if so, deactivate it.

This is because I am developing a moving map add-on (C++ DLL module) that appears full screen when you press a pre-defined key. When the moving map is on the screen, you obviously move the mouse everywhere, so if the mouse look mode is active, it completely changes the direction of the look and possibly the zoom factor. So when you close the moving map, back to the sim, you are completely lost. This is why I would like to deactivate the mouse look mode as soon as the moving map is displayed.

Thanks,
Eric
 
What sim are we talking here? FSX' mouselook is not activated by default.
 
I am sorry, I forgot to set the prefix, I just fixed rhis. I am talking about FSX (or FSX SE).
I agree, mouse look mode is not activated by default, but if the user activates it, I would like to detect it and deactivate it when my moving map window is popped up.
 
If you can't find any callbacks for mouselook mode, but have access to the view parameters, simply save their values when the user opens the map and, if a change is detected, overwrite the new values with the saved ones. And display a warning about mouselook mode.
 
Yes that's a possibility, I can restore the view parameters but as soon as the mouse moves, eve' a tiny move like 1 pixel, the view will come back to the mouse position.
I keep this idea in mind, but if possible I would like to deactivate it. I looked into SimConnect but couldn't find a way...
 
Back
Top