Skip to content

callebstrom/vrinsight-cdu-ii-msfs-driver

Repository files navigation

VRInsight CDU II MSFS Driver

.github/workflows/release.yml

How to run

  • Download the latest installer (setup.exe) from Releases. You can place these three files contained within the ZIP anywhere after downloading but note that both keymap.yaml and SimConnect.dll needs to be co-located with the binary.
  • Install VRInsight CDU II MSFS Driver anywhere
  • Navigate to the installation directory and modify keymap.yaml to contain the COM port used by your VRInsight CDU II device. This can be found in Device Manager -> Ports (COM & LPT)

What

This driver connects directly to the VRInsight CDU II and translates its input to the appropriate HTML-events and LVARs for MSFS, enabling you control practically any MSFS FMS/CDU/MCDU using your VRInsight CDU II device. These are then forwarded either directly via SimConnect or via the MobiFlight Event WASM module.

Why

In order to use the VRInsight CDU II device together with MSFS you need to run FSUIPC and LINDA (as per these instructions).

While the above solution works, I've found it to be working half of the time at best and is heavily relying on the startup and execution order of LINDA, FSUIPC and their respective lua scripts order.

Prerequisites

Alternatives

  • LINDA + FSUIPC (as described in the Why section)
  • Serial2FP (no MSFS support AFAIK)

TODO

  • Installer
    • Register as MSFS startup binary
    • Install binary in appropriate dir
    • Install mobiflight-event-module if not already installed
  • Automated COM port scan