Jump to content
The simFlight Network Forums

Using FSUIPC7 with Mobiflight WASM module


Recommended Posts

The Mobiflight standalone wasm handles events for the G1000, G3000, GNS530, and KAP140 using MOBIFLIGHT_X_X_X event names. I would like to access these mobiflight events using FSUIPC and my X-56 stick and throttle. I cannot find a resource that identifies the event numbers that mobi is using so I cannot setup a custom event for a button. Is there another way to access these event ID's through FSUIPC? The wasm module sits in the Community folder as an add on. It works with Stream Deck though a plugin but all of the event ID's are published.

Link to post
Share on other sites
  • Replies 59
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

John,   It all works!! Flipping wonderful, you sir are a genius.  Now to give Mobiflight some love.

Posted Images

19 hours ago, Helibrewer said:

Is there another way to access these event ID's through FSUIPC?

You need to know the event ids and assign them as custom events. There is an 'add-on custom events' facility (see p36 of Advanced User Guide), but the event names you mention don't contain a period as mentioned in the documentation. I haven't used that facility up to now, maybe @Pete Dowson can clarify.

 

Link to post
Share on other sites

Thanks, I created an events file named GNS530.evt and placed it in the installation folder. It just contains two lines for testing:

[Events]
1=MobiFlight.AS530_ENT_Push

When I use the dropdown in "Assignments" -> "Buttons and Switches" the Mobiflight event is not listed. Am I missing a step?

Thanks,

Mike

Link to post
Share on other sites

There has been a few posts on the MobiGlight WASM module recently, most recently here: 

 

Looks very interesting. I'm going to look into this next week to understand this better and see what I can do in FSUIPC7.
I'll let you know - please be patient.

John

Link to post
Share on other sites
20 hours ago, Helibrewer said:

Thanks, I created an events file named GNS530.evt and placed it in the installation folder. It just contains two lines for testing:

[Events]
1=MobiFlight.AS530_ENT_Push

When I use the dropdown in "Assignments" -> "Buttons and Switches" the Mobiflight event is not listed. Am I missing a step?

I just tried this and it works - I see the events in the dropdown list (at the beginning):

951995202_Image3.png.52b2a5695dbc10fb218f7f103cbc21fa.png

 

I've attached the event file I have used (I've just added the first 54 events for the time being):MobiFlight-Events1.evt

John

 

Link to post
Share on other sites

There seems to be an issue using both event files, in that if you assign to a control provided by one of the files, the event with the same index number in the second file is also triggered. I will investigate, but for the time being please just use one event file containing the events needed.

John

Link to post
Share on other sites

I am a little confused as to what is needed. Is it just a matter of installing the WASM into the community folder and then copying the .evt file into the FSUIPC7 installation folder? Do we still need to install Mobiflight itself?

Sorry for being dumb !

Keith

Link to post
Share on other sites
2 minutes ago, Stinger2k3 said:

I am a little confused as to what is needed. Is it just a matter of installing the WASM into the community folder and then copying the .evt file into the FSUIPC7 installation folder?

Yes.

2 minutes ago, Stinger2k3 said:

Do we still need to install Mobiflight itself?

You need to install and run it initially, to enable beta updates and to download the WASM module. Once that is done and you have placed the WASM folder in the community folder, you don't need to run Mobiflight anymore.

Just follow the instructions here.

John

Link to post
Share on other sites
4 minutes ago, John Dowson said:

Yes.

You need to install and run it initially, to enable beta updates and to download the WASM module. Once that is done and you have placed the WASM folder in the community folder, you don't need to run Mobiflight anymore.

Just follow the instructions here.

John

Thanks John for clarifying.

I'll try this tomorrow.

Keith

Link to post
Share on other sites

Can you do the same with the spad.next wasm (make een event-file with the spad.next ID's?
You can call the Mobiflight with [Events]
0=MobiFlight.AS1000_PFD_VOL_1_INC
1=MobiFlight.AS1000_PFD_VOL_1_DEC
2=MobiFlight.AS1000_PFD_VOL_2_INC
3=MobiFlight.AS1000_PFD_VOL_2_DEC   etc....

That works, but the spad.next has also the ID's for the A320 Neo and the A320 FBW

How to call the Spad.next ID's ?

0=??????.A320_NEO_MFD_RANGE_1 etc

Link to post
Share on other sites

I don't know, but if the SPAD.next WASM module works in the same way as the MobiFlight one, I don't see why not.
You need to determine what are the string names that SPAD.next is using (your ??????). Do they publish them?

 

Link to post
Share on other sites

I have now tried this with FSUIPC7 and it works a treat. Just using evt file No1 at the moment. There are still more functions to add but I am sure they will come. I managed to assign the G1000 map range knob which works fine.

Personally speaking I need it too for the Longitude but patience is a virtue.

Thanks John for the info on installing it. 

Regards

Keith

Link to post
Share on other sites
15 hours ago, MarkStallen said:

Would be so nice if you're able to get this to work. 

It is working, but with restrictions (only use one *.evt file at the moment).

16 hours ago, MarkStallen said:

That works, but the spad.next has also the ID's for the A320 Neo and the A320 FBW

How to call the Spad.next ID's ?

0=??????.A320_NEO_MFD_RANGE_1 etc

Those are lvars, not events, so currently not possible to use.

John

Link to post
Share on other sites
3 minutes ago, roa said:

Where do I find the WASM module? Tried to Download MobiFlight and did an update, but Windows 10 block the update and MobiFlight module just stops working.

Just follow the instructions in the link posted above. If you have issues with Windows Defender (or any other antivirus software) blocking you, then just temporarily disable until you have it installed.

 

Link to post
Share on other sites
4 minutes ago, Stinger2k3 said:

I see that we can delete events from the .evt file if we don't need them, can we cut and paste events from one .evt file to another? Does that work?

Sure - you can create your own event file just for the events needed. Just make sure that that the events have consecutive index numbers and max of 256 events (0-255) per file.

As I mentioned in a previous post, I think it would be better to create an event file for each device (e.g. G1000.evt, G3000.evt, etc), and then just add the ones for the systems you use. I guess I could also look into making the [EventFiles] ini section profile specific if different event files will be used for different profiles.

And make sure that you do this before you assign to the events, or changing event files when you already have assignments will make previous assignments invalid.

John

Link to post
Share on other sites

Can these mobiflight events implemented in the wasm module also be "reach" via standard SimConnect Events?

What is the protocol or methods used to access and trigger any of these new event from a SImConnect Client?

Link to post
Share on other sites
6 minutes ago, roa said:

Can these mobiflight events implemented in the wasm module also be "reach" via standard SimConnect Events?

What is the protocol or methods used to access and trigger any of these new event from a SImConnect Client?

So, not using FSUIPC but SimConnect directly? You can use them as any other client event by registering them using the SimConnect_MapClientEventToSimEvent function, using IDs in the appropriate custom event range.

John

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.