This is a small script written in Python that lets you fly with your mouse in Microsoft Flight Simulator 2020. (Why is this not implemented in the game yet?).
The script is always listening for the mouse position and it transforms that into an xbox controller input. It also listens for the scroll wheel position, that way, you can use it as a throttle.
-
Download and install Python.
Make sure to add Python to the Path during the installation (important!)
-
Download the latest version of the script from the releases section.
-
Configure the script as you like!
You can modify the text file 'config.json'
// config.json
{
"master_key": ",",
"throttle_sensitivity": 20,
"remember_last_position": true,
"center_xy_axes_key": "."
}
- Open the file run.bat. If its the first time you are opening it, it will install some dependencies that are required.
- To activate the script, press the master_key. Default key is comma ",".
- "master_key": "," | The key for turning on/off the script.
- "throttle_sensitivity": 20 | How many scroll-wheel steps are required to go from 0% to 100% throttle.
- "remember_last_position": true | If true, the position of the yoke will be remembered when you switch on/off the script.
- "center_xy_axes_key": "." | The key for centering the yoke axes.
-
When you are setting up the bindings in the game, I recommend removing ALL bindings that are set by default for xbox controllers, and leaving only the axis that you need (which are only two).
-
Clear all the "filters" that the game adds to the xbox controller. Leave it as raw as you can.
Happy flying!