Giter Club home page Giter Club logo

msfs_mouse_yoke's Introduction

msfs_mouse_yoke

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?).

How does it work?

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.

Installation

  1. Download and install Python.

    Make sure to add Python to the Path during the installation (important!)

    add_python_to_path

  2. Download the latest version of the script from the releases section.

  3. 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": "."
}

Usage

  1. Open the file run.bat. If its the first time you are opening it, it will install some dependencies that are required.
  2. To activate the script, press the master_key. Default key is comma ",".

inactive_state

Settings in detail

  1. "master_key": "," | The key for turning on/off the script.
  2. "throttle_sensitivity": 20 | How many scroll-wheel steps are required to go from 0% to 100% throttle.
  3. "remember_last_position": true | If true, the position of the yoke will be remembered when you switch on/off the script.
  4. "center_xy_axes_key": "." | The key for centering the yoke axes.

Keep in mind that...

  • 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).
    image

  • Clear all the "filters" that the game adds to the xbox controller. Leave it as raw as you can.
    image

Happy flying!

msfs_mouse_yoke's People

Contributors

matiaspedelhez avatar smatkovi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.