Thanks Pieter, I’ll try that tonight. From a more advanced perspective, How might I go about finding the mapping from Structs.cs to the Simconnect eventID or variable? I’m happy todig through the code a bit to begin to understand how Flight Tracker does it I’m just trying to see where to start.
I’d be happy to hop on discord with you some night and help you through this. It’s pretty straight forward once you get into it.
I’d even share my gns503/430 airmanager updates that work with mobiflight events
For the most part @XAxSys, whatever the simconnect event id is, is what is in our struct file. It has to be, for simconnect to make heads or tails of us asking for the data or event to trigger
Yeah lets do that some night soon I’m on the left coast (U.S west - FYI) .
I have a growing G1000 panel that I’m confident I can get fully FS2020 functional If I can get MOBIFLIGHT to work with both Airmangler.
This is where I’m at so far…
UPDATE:
With @RMROC451 guidance tonight he showed me how to get MobiFlight working with AIR MANAGER the REALLY easy way! VIOLA pretty much everything now works on the PFD. I have a couple of smaller pieces of logic to write tomorrow night for COM NAV Active selection and also get PAN control working. This is awesome!!! need to go actual flying.
I will post up the panel this weekend when I have the code shined / cleaned up and tested.
Thank You RYAN!!! You are awesome!
Phil
Wow so cool! Looking forward to this
It’s “voila”
It’s “voila”
[/quote]
Yeah Yeah Yeah I’m actually paying Homage to an old joke from an old comedy sketch I think it was from secret Policemans ball in the 80’s (yeah I know I’m dating myself) Happy Daze mate! and thanks for all the fine work you guys have done! Glad to be a part of it
Ah! My bad! I was in my single digits in the '80s
I have a couple of years on you then LOL
Could someone tell this old man (I was in my teens in the 80s ) what the toggle parameter in the Generic Toggle Button is passed to? In the example in the guide, the button controls the heading bug and the parameter is set to pass the aircraft’s direction but I have no idea what would receive this information. (I’m guessing that it may be for communication to external peripherals?) Since I haven’t needed to use it so far, I don’t suppose I need to but it’s infurriating me not knowing what it does…
All the buttons in the plugin communicate with MSFS itself via an interface called SimConnect. So everything to type/choose in the button will be sent to the sim.
Thank you. Having looked at it a little more, I think I understand it; the toggle parameter is used by the toggle event. In the userguide example I mentioned above, with the parameter set to the aircraft’s direction, the heading bug is set to that direction; without it, it is set to 0 degrees.
I have never used an event where I have needed this and it was confusing me. (For example, I use the AP_HDG_HOLD event which automatically aligns the bug with the aircraft’s direction.)
You’re better off using one of the preset toggle buttons when they’re available (for pretty much anything to do with AP functions) . That button is already pre-built for you. Pressing it will enable AP heading mode, long-pressing will synch your heading bug to your current heading.
Thank you, that’s good advice. I’ll do that for the heading mode as the user guide says it displays both status and value and, as you told me, allows for different functions on short and long presses.
However, regarding the other A/P modes, I have programmed most of my buttons to display values (selected altitude, VS, FLC etc) and the user guide says that using the buttons will only display the status of the modes. It also says that modes other than Heading will only resond to short taps, as the buttons I have already programmed do. Of course, if I’ve misunderstood the information in the user guide and the preset buttons have other advantages, I’ll use them instead. I think I’ll make a new profile using the preset buttons, do a flight and see which I prefer.
Most of the preset AP buttons already have that baked into them.
That’s great - the less work I have to do, the better. I’d prefer to use preset buttons - they been designed by someone with a lot more knowledge than I have and if they’re updated, I’ll benefit from that, too. Thank you for letting me know.
If you have the Mobiflight plugin also installed, it will allow you to control the G1000, G3000 and GNS 530/540 units via the Stream Deck as well.
If you happen to have the Stream Deck XL, I’ve shared my G1000 PFD and MFD profiles over at the Flight Tracker GitHub page.
I’d share my full profiles, but they’d be of limited use. I have Logitech AP and Switch panels, so all my AP functions and most of my lights and other stuff are on those as well, so they wouldn’t have anywhere near what the average person would find particularly useful.
Once I get them tweaked, I’ll also share my GNS and G3000 profiles there.
I’ve played with the Mobiflight events - I’ve got softkeys working on the pfd and touchscreen so that I can set the weather option and zoom the maps in and out. Although I fly aircraft with the G1000, I haven’t started programming my Stream Deck with any of its features. I do have a Stream Deck XL (and still wish I had more buttons - just call me greedy!), so your profiles will be just what I need at just the right time. It’ll be great to see your GNS and G3000 profiles as well. Thank you again.
Since there’s a limited number of buttons on the Stream Deck, I only have the major functions that aren’t replicated elsewhere. So no AP or radio functions, as those are already available from the preset buttons and the pre-built comms panel.
It has all the soft keys all the buttons on the right hand, map cursor toggle, map navigate arrows, and the bottom FMS knob set up as button - + & - for the outer ring, + & - for the inner knob, and click for the centre.
It looks very good - clear with a logical layout. (Something I could really learn from - I have a tenency to try to program as much as I can, whether I need it or not, then get lost among the mryiad of buttons I’ve created, looking for the few I need to use…)
It’s almost 2 am here in the UK at the moment, so I’m going to have to wait until tomorrow to use it. I’ve been solely flying the TBM for a couple of weeks now, so it’ll give me a chance to reacquaint myself with the G1000, too.
I have been using Touch Portal to command keystrokes in MSFS, it has also logic function and layered parameters. best part it is working with tablet pc or cell phone and can be configured in as many buttons per page as you wish up to a limit. Using wifi or usb, works great. here pictured with a cellphone.Uploading: IMG_20201222_183321.jpg…