Helibrewer Posted January 9, 2021 Report Share Posted January 9, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 10, 2021 Report Share Posted January 10, 2021 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 comment Share on other sites More sharing options...
Helibrewer Posted January 10, 2021 Author Report Share Posted January 10, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 10, 2021 Report Share Posted January 10, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 11, 2021 Report Share Posted January 11, 2021 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): 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 comment Share on other sites More sharing options...
John Dowson Posted January 11, 2021 Report Share Posted January 11, 2021 Here are two event files that contain all of the MobiFlight events: MobiFlight-Events2.evtMobiFlight-Events1.evt For users who want to try these with the MobiFlight WASM module to control the G1000, please see: https://forums.flightsimulator.com/t/full-g1000-control-now-with-mobiflight/348509 John Link to comment Share on other sites More sharing options...
John Dowson Posted January 11, 2021 Report Share Posted January 11, 2021 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 comment Share on other sites More sharing options...
Stinger2k3 Posted January 11, 2021 Report Share Posted January 11, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 11, 2021 Report Share Posted January 11, 2021 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 comment Share on other sites More sharing options...
Stinger2k3 Posted January 11, 2021 Report Share Posted January 11, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 11, 2021 Report Share Posted January 11, 2021 @Stinger2k3 Ok Keith, but also note my post above about using two event files. I will look into this, but for the time being its probably best just to use one event file. John Link to comment Share on other sites More sharing options...
Stinger2k3 Posted January 11, 2021 Report Share Posted January 11, 2021 Sure thing. Link to comment Share on other sites More sharing options...
MarkStallen Posted January 11, 2021 Report Share Posted January 11, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 11, 2021 Report Share Posted January 11, 2021 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 comment Share on other sites More sharing options...
MarkStallen Posted January 11, 2021 Report Share Posted January 11, 2021 I saw we were also discussing this on the flightsimulator forum 😀 small world. Would be so nice if you're able to get this to work. Link to comment Share on other sites More sharing options...
Stinger2k3 Posted January 12, 2021 Report Share Posted January 12, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 12, 2021 Report Share Posted January 12, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 12, 2021 Report Share Posted January 12, 2021 I've corrected the problem with multiple *.evt files in the attached version. v7.0.5a. Its probably a good idea to make one evt file per instrument (e.g. G1000.evt, G3000.evt, etc) and then just add the event files for the instruments you use. John FSUIPC7.exe Link to comment Share on other sites More sharing options...
roa Posted January 12, 2021 Report Share Posted January 12, 2021 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. Link to comment Share on other sites More sharing options...
John Dowson Posted January 12, 2021 Report Share Posted January 12, 2021 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 comment Share on other sites More sharing options...
Stinger2k3 Posted January 12, 2021 Report Share Posted January 12, 2021 Hi John, 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? thanks Keith Link to comment Share on other sites More sharing options...
John Dowson Posted January 12, 2021 Report Share Posted January 12, 2021 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 comment Share on other sites More sharing options...
roa Posted January 12, 2021 Report Share Posted January 12, 2021 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 comment Share on other sites More sharing options...
John Dowson Posted January 12, 2021 Report Share Posted January 12, 2021 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 comment Share on other sites More sharing options...
roa Posted January 12, 2021 Report Share Posted January 12, 2021 John, thanks for your prompt reply. Now we also need Events for the B747, B787 and A320, so we can access all buttons etc. in those VC cockpits Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now