Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Mobiflight events to the config JSON schema #87

Open
davidlav opened this issue Aug 27, 2021 · 0 comments
Open

Adding Mobiflight events to the config JSON schema #87

davidlav opened this issue Aug 27, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@davidlav
Copy link

davidlav commented Aug 27, 2021

I love how you included a JSON schema for the config files that lists all the allowable event names. Would you consider adding all the Mobiflight ones to it as well?

In the same way you scrape the SDK for the native events, you can easily do the same for Mobiflight.

Just run this

document.querySelector('pre').textContent.split('\n').filter(text => !text.startsWith('//')).map(text => `Mobiflight.${text.split('#')[0]}`)

in the dev console here

https://raw.githubusercontent.com/Mobiflight/MobiFlight-Connector/main/MSFS2020-module/mobiflight-event-module/modules/events.txt

@davidlav davidlav changed the title Adding Mobiflight events to the JSON schema Adding Mobiflight events to the config JSON schema Aug 27, 2021
@maartentamboer maartentamboer added the enhancement New feature or request label Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants