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
parvazi
Posts: 12
Hi All,

A little bit of history first...
After MSFS2020 mandatory update on 6th Jan, my sim gets stuck on the flight loading page and all of my efforts have not got anywhere yet and it has made my cockpit completely useless.
Hence, I decided to start using X-plane11 until they release a bugfix, hopefully, they can fix the issue.
I couldn't find any direct way to configure my G1000 units. so I decided to use vJoy and interface Mobiflight key presses to the x-plane joystick config via vJoy.

Here is the configuration:

<config guid="a470845e-3fcb-4053-98ea-701743a477cd">
<active>true</active>
<description>PFD-SOFTKEY02</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.2.0.0, Culture=neutral, PublicKeyToken=null" serial="MF-PFD/ SN-1f1-65b" name="SW-SOFTKEY02" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="vJoyInputAction" vJoyId="1" buttonNr="1" buttonCmd="True" Axis="" axisVal="" />[/b]
<onRelease type="vJoyInputAction" vJoyId="1" buttonNr="1" buttonCmd="False" Axis="" axisVal="" />
</button>
<preconditions />
<configrefs>
<configref active="False" ref="09a02e7b-b30b-43fa-8d4e-0793f4a2779d" placeholder="#" />
<configref active="False" ref="8e64a9da-aef5-46a5-9bc6-8abaf6dfacd8" placeholder="A" />
<configref active="False" ref="a1b75ff9-6336-40b1-b3f4-201255c7d05f" placeholder="@" />
<configref active="False" ref="382dfc2f-3f3f-4b7e-bcb2-634495f7245e" placeholder="?" />
<configref active="False" ref="eee09e1b-6892-4845-b980-2c30afbadf51" placeholder="!" />
<configref active="False" ref="09a02e7b-b30b-43fa-8d4e-0793f4a2779d" placeholder="#" />
</configrefs>
</settings>
</config>

On on press and off on the release. MApped the Vjoy pin 1 to the PFD key 2 on the sim.
When I press the key, it found the config for both press and release:

2/1/2022 12:29:40 AM(942): Executing OnRelease: SW-SOFTKEY02@SN-1f1-65b
2/1/2022 12:29:40 AM(913): Config found for Button: SW-SOFTKEY02 (RELEASE)@SN-1f1-65b
2/1/2022 12:29:40 AM(862): Executing OnPress: SW-SOFTKEY02@SN-1f1-65b
2/1/2022 12:29:40 AM(836): Config found for Button: SW-SOFTKEY02 (PRESS)@SN-1f1-65b

but I don't see anything happening on the vJoy Monitor or the sim.

When I use vJoy Feeder and press button 1, it shows the keypress on the vJoy Monitor, interacts correctly with the flightsim and opens the GPS softkey2 options.
I really don't know where else to look for the issue.
Please advise if you have any ideas.

Regards,
Ali
2022-01-31 14:41
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Sorry we not puplish this Point more vissible.....
https://github.com/MobiFlight/MobiFlight-Connector/issues/618

Vjoy currently is not working as expected (some Axis work but non of the buttons)


We not know when this issue comes up. We know it work 2 Years ago when we impliment it.... And we know it no longer work today.
Maybe a bug that comes with a other feature we impliment since the last two years... OR.... A Change in Vjoy itself... So we still do the same like in the past, but Vjoy expect a differnt code meanwhile.

Please stay patient.... Its on the Milestone List for 9.3 But i can not garantee if we can fix it till then.
Vjoy is no "Master Priority" so it can take some time.
Good Luck !
2022-01-31 16:06
Avatar
HansK
From: The Hague, Netherlands
Posts: 26
Supporter
Hi Pizman,

I use Mobiflight already for a long time in my 737 cockpit in combination with 11 Arduino Mega's. So far so good.

Last week I tested a new plane and I like tot control as much as possible functions in that plane with my excisting hardware by developing a new .MCC file for that plane and using the button function of Vjoy. In the past I tested that wihout problems but didn.t use that in my 737 configuration. Last week I detected that it was no longer functioning, I saw this threat and learned that it is a known issue.

Is it still on the list to solve?

Regards and thank you for all your work,

Hans
Netherlands
2022-04-26 12:14
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Yes it is. :thumbup:

Badly in case of bad timing this feature/bugfix not could be included within our last release of 9.3.0
It will be included within the next Version 9.4

But not get scarred.... You not need to wait a lot of weeks till 9.4.... We will include this already in the first BETA Version.
Planned release of Beta within the next Days.

To work with it you must enable the BETA Feature in the Settings. Then MF will automatically download the Beta as soon as its available.


NOTE: Also the Encoder Solution is work in progress.... Looking forward to include it also in Beta.
Then MF allow to handle Encoders with Vjoy !
Good Luck !
2022-04-26 12:53
Avatar
HansK
From: The Hague, Netherlands
Posts: 26
Supporter
That is positive news, perfect!! Thank you so much for the quick answer as well. I will enable the use of beta versions as advised.

Regards
Hans
2022-04-26 16:19
Avatar
HansK
From: The Hague, Netherlands
Posts: 26
Supporter
Just to report that after updating to version 9.3.2.1 (Beta) the vJoy function works as advertised.

Thanks for the update,
Hans
2022-05-02 11:23
icon