msfs2020-uimod icon indicating copy to clipboard operation
msfs2020-uimod copied to clipboard

Connect to other devices such as StreamDeck

Open Djeez2 opened this issue 3 years ago • 3 comments

Hi,

I use a StreamDeck to toggle the POI markers and aircraft labels by emulating keyboard keys. However, this has the disadvantages that this only works when MSFS has focus and that I cannot see the state on my streamdeck. Therefore I would like to make a connection to my streamdeck, as an example of a custom "button box".

I am a professional software developer but I have no experience in web technology or javascript, so it is difficult for me to tap into your plugin. My idea was to open a websocket in the javascript and use that to get and set the state. However, my initial attempts failed miserable, as I have no idea when these scripts are executed and how to retain a connected socket.

Could you be of assistance, or is my plan plain impossible?

Thank you very much in advance,

-Emile.

streamdeck

Djeez2 avatar Apr 11 '21 17:04 Djeez2

I found your comment as I plan to do something similar with SimDashboard, which uses SimConnect as a way to communicate directly to MSFS. It does look like there's a plugin for StreamDeck/SimConnect integration here that might be worth a shot.

stestino avatar Apr 14 '21 15:04 stestino

I am actually using that plugin but it requires the sim to expose the variables through simconnect. If there is way the mugz could expose the mod settings as sim variables I can hook into those. That might actually be a neater solution than the websocket hack I described above.

Djeez2 avatar Apr 14 '21 15:04 Djeez2

I dont find any way to connect to stream deck. But still searching

mixMugz avatar Jan 15 '22 13:01 mixMugz