Coder Social home page Coder Social logo

mobiflight / mobiflight-wasm-module Goto Github PK

View Code? Open in Web Editor NEW
54.0 8.0 20.0 453 KB

The WASM module is the interface between MobiFlight and MSFS2020

License: MIT License

C++ 99.96% C 0.04%
msfs2020 wasm-module flight-simulation home-cockpit

mobiflight-wasm-module's People

Contributors

docmoebiuz avatar koseng avatar mimakes avatar mobiflight-admin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mobiflight-wasm-module's Issues

Release version 1.0.0

  • use SDK 0.23.1
  • use 1.0.0 in WASM module source code
  • use 1.0.0 in MSFS2020 project manifest

Wasm Module not multi client ready for LVar access

Several applications now use the Mobiflight-WASM to access L-Vars and A-Vars. If they would run at the same time, it would lead to issues, since the LVar access is not made for a mulit client scenario.

Multi client access for LVars via the mobiflight wasm module is needed.

Example of setting variables isn't quite right

The README indicates that we can use the module to set a variable using the following syntax:

MF.SimVars.Set(5 (>L:MyVar))

It claims that the calculator code "5 (>L:MyVar)" will be executed.

However, reading the code and testing this out, it appears that the correct syntax is actually:

MF.SimVars.Set.5 (>L:MyVar)

This will execute everything after "Set." using execute_calculator_code.

Thanks for open-sourcing this module. When I get a chance I'll open a PR!

MSFS micro stuttering due to reading/monitoring too many Simvars

Great Thanks to MobiFlight, I found I have no reason to develop a new module, except to reuse mobiflight. it is a great gift of open source community.

After I deeply developed a client based on your module, I found a serious performance issue.

micro stuttering is seen regularly every xxx ms. a sudden frame drop regularly be seen in below screenshot

From a user experience, it is not acceptable.

shutters

By removing Community\mobiflight-event-module, micro stuttering is gone.

Background: I am developing a SimConnect client calling MobiFlight module.

Kodiak 100 ignition toggle not working

The switches used to startup the Kodiak 100 are working from my stream deck except the ignition switch KODIAK_100_IGNITION_SWITCH_TOGGLE.

I configured all the switches with MOBIFLIGHT_ in front. So in this case: MOBIFLIGHT_KODIAK_100_IGNITION_SWITCH_TOGGLE.
But the event command is not working.

Can someone advice me what to do to get this one working?

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.