Skip to content

Sync the VKB FSM-GA LED state with MSFS using SimConnect and Python

Notifications You must be signed in to change notification settings

leetrout/vkb-fsm-ga-msfs-simconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MSFS VKB FSM-GA Connector

This repo contains example code for syncing the LEDs of the VKB FMS-GA with MSFS via SimConnect.

Usage

Setup

Install Python 3.

Clone or download this repo.

Inside this repo directory create a virtual environment:

python -m venv venv

Activate the virtual environment:

.\venv\Scripts\activate

Install the dependencies

pip install -r requirements.txt

Perform a self test

python main.py test

Start the sync

python main.py

Dev notes

Sync update loop

The sync update loop checks the state of the sim using SimConnect.

Each LED ID has an update function that receives the instance of the SimConnect AircraftRequests with which it is responsible for setting the LED to the correct state. This results in more verbose code but more flexibility and easy readability.

About

Sync the VKB FSM-GA LED state with MSFS using SimConnect and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages