MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
Jannik207
Posts: 11
Hello,
I'm working for a while now on a 787 autopilot for the MSFS 2020. 4 LCD displays and 4 encoder are already working with the MSFS (I used FSUIPC Offsets for those).
Now I have the problem that there are no MSFS events for most of the buttons (LNAV, VNAV, FLCH ....). I searched in the net for a solution, and I found this video that shows how to get custom variables from the MSFS (https://www.youtube.com/watch?v=PKBjEl9E5A4&ab_channel=MobiFlight). The creator of this video says that at the time we only can access H- and K-variables. As I tried to get the variables that I needed, I only found other variables like L- or B-variables. I can´t find anybody in the net who is also building a homecockpit for the 787.
I'm now wondering if this is even possible.
I hope someone can help me or had a similar experience and knows what to do or give me a hint.
Greetings Jannik
2023-01-21 18:49
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Lvars work.... BVars (As i know) are still blocked by Asobo/Microsoft.

Ironical specially the Stock Aircrafts use mostly those BVars.
E.g. A 100$ AddOn like PMDG will not and allow us a way better access.

So.... All you can do is testing. Often some stock things work also for other Arcrafts. Sometimes there is a BVar and also a Lvar so you maybe can bypass it.
If things can be done within the Sim Controlls you can use Vjoy to handle it via Mobiflight.

So not give up.
Best way is to get in Contact with one of the Pro Users who Dig Events in the past ( e.g. Jaime Leon on our Discord)
Those can help you.
Cause NOTE.... This Video is pretty Old. The technic how we handle Events have changed within the Year.
Good Luck !
2023-01-21 21:58
Avatar
Jannik207
Posts: 11
Hi,
Thanks for the quick and very helpful answer. I already found some variables I could use. If they work I will report here and put them on HubHop. I also didn`t know that we can use LVars now, that makes the hole thing a bit easier. Is there also an Updated tutorial or documentation on how to handle the variables for the MSFS?
Greetings Jannik
2023-01-24 18:35
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
iconJannik207:

. Is there also an Updated tutorial or documentation on how to handle the variables for the MSFS?



The way to dig them is still the same.... We just no longer use the "Event.txt" like in the Video.
This was before we create HubHop.... So the users have to enter the variables by hand in there file.
With HubHop the user enter the new Events now within HubHop and Mobiflight simply update the whole database when you patch it or manually say "Update Events".
So if a Event Change you not need to rework your own list.... You just use the Databse where a other user do this for you!

About Lvars....
I also not a pro here.... But a short search in HubHop confirm this i think....

E.g this Input:
https://hubhop.mobiflight.com/preset/?simType=msfs2020&id=000052c6-7989-4b18-b965-37cf31226302

1 (>L:ASCRJ_INTL_COMP)

That Code say it write "1" to a LVar.... isn´t it ?
Good Luck !
2023-01-25 13:33
Avatar
Jannik207
Posts: 11
For the past few days I tested all the variables I found. It turns out that the hole process is much easier than I thought. I now added variables for every button and switch on the 787 Autopilot to HubHop. Three of the encoders are also working. Only the HDG encoder is currently not working, but I think I can fix that. I'll also probably add more presets for the 787 in the future. I just want to thank you again for the great support!
2023-01-29 17:47
icon