Stream Deck Button Box (My C172 Implementation)

In the Carenado Waco YMF there’s a HSI compas in the middle of the dashboard. It has a green arrow indicating the course and a yellow ap heading bug. At the bottom there’s two knobs, one for the course (green) and one for Det heading bug (yellow). Turning the knobs lets you manipulate the course and ap heading.
Using the Stream Deck I can set the AP heading using the HDG button and -/+ or map the event heading bug incr/descr. Is there a way to manipulate the course indicator?
Perhaps I’m missing something obvious.

I’m using a new 15 button Stream Deck. Thanks to this post I was able to make a very nice set up using Flight Tracker (thank you all), still a work in progress, but works perfectly. My problem is that hot key assignments just don’t work for me in MSFS. They work fine in Windows but in game…nothing. I tried all of my USB ports, down graded and upgraded the software but pressing hotkey assigned buttons does nothing. Am I missing something?

To set up hot keys you need to use the default stream deck hot key button. That works for me at least. Some problems can arise if you need to hold or press the button multiple times in a row.

1 Like

Thanks for the response. It’s the default hotkey assignments that I’m having trouble with. Prior to using Flight Tracker I was trying to assign default hotkeys using my key bindings but pressing them does nothing, no response. No multiple presses just simple toggles.

Ensure this is the Stream Deck button you’re using.

image

Keep in mind if you’re swtched out to another Window other than the sim (like using Navigraph, Little NavMap, etc), these hotkey commands will NOT work. They only work when the sim is the active window.

2 Likes

You are correct, Polling each Simconnect parameter separately, will quickly slow down the sim.
You might consider Polling with two sets, one at a high rate, and one at a low rate.

ie The Gear takes a few seconds to change, and lights are not turned on at a high rate of ON/OFF, flaps do not more that quickly, so Poll that set say at 1 Hz, and the more dynamic parameter, at the 10Hz.

Then maybe also poll everything at a very slow rate individually, as a diagnostic, to see if any are not responding, and if any fail, remove them from the Group Poll – and report it in a log.

1 Like

That’s the button I’m trying to assign. I closed all other windows and apps (LNM) and even closed my second monitor. Stream Deck running in active MSFS window. Still no response to any assigned button. Tried a simple one like strobe toggle. Keyboard shortcut works but hotkey assignment does nothing. Flight Tracker assignments work perfectly so I know the Stream Deck is connected to the sim, but hk’s do not respond.

Thanks for the response.

Don’t know what to tell you. I had an entire panel set up with hotkeys keys 1-0 for ATC commands and they worked just fine.

If you want to use hotkey, you might need to run Stream Deck as administrator, especially if you run MSFS as administrator. And yes ensure the active window is MSFS.

1 Like

Thanks, I tried everything. Running both as administrator, simulator as active window. I’m beginning to think it may be a hardware problem with my new Stream Deck. Odd thing is it works with Flight Tracker just fine. Love the Flight Tracker system.

It’s not that odd though because they are using fundamentally different approaches. Flight Tracker plugin uses SimConnect, which is a direct connection to MSFS internals, while Hotkey simulates key press via OS hooks, which subjects to a lot of restrictions from the OS itself due to privacy and security concerns. Key press simulation can also conflict with a lot of other software, especially some invasive anti-virus products.

In general I don’t think your problem with hotkey is hardware related, but some other conflicting stuffs. Not sure how to pinpoint those though :stuck_out_tongue:.

I see what you mean. I will keep trying. Thanks for your help.

And custom unit support is released in version 0.27 :partying_face:.

Please note that putting in the wrong unit will disable all the generic buttons (including NAV/COM) and gauges in the same page. So it is better to set the unit when the sim is running so you know immediately. It will go back to normal once you put in a valid unit or clear the unit field to revert to default.
There will be improvement on this in future updates.

P/S: Hg is not a valid unit. inHg is :smiley:.

2 Likes

hello,

what are the New feature?
tutorial?

I have been setting up my Stream Deck to control MSFS 2020. Thanks to this forum I have made good progress. But I would like to control my C172 interior lights and can’t figure it out. The C172 lights are controlled by four potentiometers. I captured the events with FSUIPC.

Turn on and increase intensity one click:

Param= 1 (0x00000001) PANEL_LIGHTS_SET
Param= 3 (0x00000003) LIGHT_POTENTIOMETER_SET
Param= 3 (0x00000003) LIGHT_POTENTIOMETER_SET
Param= 0 (0x00000000) PANEL_LIGHTS_SET

Param= 1 (0x00000001) GLARESHIELD_LIGHTS_SET
Param= 7 (0x00000007) LIGHT_POTENTIOMETER_SET
Param= 7 (0x00000007) LIGHT_POTENTIOMETER_SET
Param= 0 (0x00000000) GLARESHIELD_LIGHTS_SET

Param= 1 (0x00000001) PEDESTRAL_LIGHTS_SET
Param= 1 (0x00000001) PEDESTRAL_LIGHTS_POWER_SETTING_SET
Param= 1 (0x00000001) PEDESTRAL_LIGHTS_POWER_SETTING_SET
Param= 0 (0x00000000) PEDESTRAL_LIGHTS_SET

Param= 1 (0x00000001) GLARESHIELD_LIGHTS_SET
Param= 1 (0x00000001) GLARESHIELD_LIGHTS_POWER_SETTING_SET
Param= 1 (0x00000001) GLARESHIELD_LIGHTS_POWER_SETTING_SET
Param= 0 (0x00000000) GLARESHIELD_LIGHTS_SET

I tried inserting the parameters into a Flight Tracker Generic Toggle Button but no joy.
Do any of you know how to set this up in Stream Deck?
I am also thinking about building an encoder box. Could these be controlled by encoders?
Thanks to everyone who has contributed to this effort.

1 Like

Those set events are not in our Flight-Tracker-StreamDeck/Structs.cs, so they won’t work at the moment. I can add them in the next update.

I did search Structs.cs and did not find them but tried it anyway. This will be a good addition.
Thanks NguyenQHy

I swear I tried this locally once before and it wasn’t working. If it is now, sweet!

I just found a missing mobiflight toggle event in the current structs.cs:

MOBIFLIGHT_Transponder7

is missing for the KT-76C transponder key 7.
the struct.cs ends currently with transponder key 6

KT-76C_Transponder

I’m usually using your very nice NAV&COM function for the setting of the transponder, but now tried to model each instrument of the typical GNS530/430 instrumentation separately by using the mobiflight toggle events.

Thanks a lot for your amazing work, I really appreciate it!

RE Interior C172 lighting controls:
For encoders you will need two events increase and decrease for pots or other knobs. You can actually construct this logic yourself in Air Manager. I would be careful trying to to adding too much logic into Flight Tracker as it might slowdown the plugin and cause functional problems. The Devs could tell us if the plugin has the headroom to support such built-in logic. I do not disagree though, this would be a very good nice-to-have.