Jump to content

New StreamDeck Plugin


Recommended Posts

I put together a button for the Mirage F1 EE ECM lights. Try it out and if someone can think of a different way to display it let me know. The font that looks the best IMO is Size 18 Courier and centered. I use an orange color and the attached lua and images.

Mirage F1 EE ECM Lights 2.pngMirage F1 EE ECM Lights.png 

function ExportScript.BARAX_lights(mainPanelDevice)
	local pattern
	--all off condition
	if 	mainPanelDevice:get_argument_value(1265) == 0 and mainPanelDevice:get_argument_value(1266) == 0 and  
		mainPanelDevice:get_argument_value(1267) == 0 then 
			pattern = "    "  .. '\n' .. "    "
			--E off AR on and AV on
	elseif mainPanelDevice:get_argument_value(1265) == 0 and mainPanelDevice:get_argument_value(1266) == 1 and  
			mainPanelDevice:get_argument_value(1267) == 1 then
			pattern = "  𝐀𝐕"  .. '\n' .. "  𝐀𝐑"
		--E off AV on AR off
	elseif mainPanelDevice:get_argument_value(1265) == 0 and mainPanelDevice:get_argument_value(1266) == 1 and  
			mainPanelDevice:get_argument_value(1267) == 0 then
			pattern = "  𝐀𝐕"  .. '\n' .. "    "
		--E off AV off AR on
	elseif mainPanelDevice:get_argument_value(1265) == 0 and mainPanelDevice:get_argument_value(1266) == 0 and  
			mainPanelDevice:get_argument_value(1267) == 1 then
			pattern = "    "  .. '\n' .. "  𝐀𝐑"
	end
	ExportScript.Tools.SendData(7001, pattern)
end

 

Mirage-F1EE.lua

Link to comment
Share on other sites

Total noob question, sorry. 

I am currently using the LUA file for the A10C-2 (via a copy, paste, rename of the A10C) that came with the initial download of DCS-ExportsScripts files when I setup Charles DCS Interface. Having read through all 37 pages, it looks like has a LUA file on Github (Link) that was updated about 8mo ago. I recall reading on one of the 37 pages that we should be updating LUA files to keep things up to date. My question, is the LUA file in the link the current A10C-2 file? If so, do I just ditch the old file and paste this new one in the ExportsModules folder? I haven't done a direct comparison but the Bailey LUA looks a bit different, certainly the format, does that matter? If I replace this file, will I lose functionality of the profile I have currently setup? 

 

Thanks everyone, appreciate it, sorry for the elementary question. 

Link to comment
Share on other sites

1 hour ago, flyboyzz1 said:

Total noob question, sorry. 

I am currently using the LUA file for the A10C-2 (via a copy, paste, rename of the A10C) that came with the initial download of DCS-ExportsScripts files when I setup Charles DCS Interface. Having read through all 37 pages, it looks like has a LUA file on Github (Link) that was updated about 8mo ago. I recall reading on one of the 37 pages that we should be updating LUA files to keep things up to date. My question, is the LUA file in the link the current A10C-2 file? If so, do I just ditch the old file and paste this new one in the ExportsModules folder? I haven't done a direct comparison but the Bailey LUA looks a bit different, certainly the format, does that matter? If I replace this file, will I lose functionality of the profile I have currently setup? 

 

Thanks everyone, appreciate it, sorry for the elementary question. 

If there are any custom functions in your current Lua that aren't in the one you want to try then yes, you will lose them. I'd suggest renaming your old one to *_backup.lua or something and try the new one. Bailey usually puts some good extras in his. I haven't used the A10C so I can't tell you anything about it.

Link to comment
Share on other sites

Is there a way to improve the description that the plug in gets for the functions of the buttons of the arc210 radio? Presently it looks like this:

image.png

I found this with clickable data extract:

VHF_AM_RADIO(55)	3001	VHFUHF18P	BTN	564	1	0	1	ARC-210	 Time of day send	 No function
VHF_AM_RADIO(55)	3001	VHFUHF18P	BTN	564	1	0	1	ARC-210	 Time of day send	 No function
VHF_AM_RADIO(55)	3002	VHFUHF17P	BTN	565	1	0	1	ARC-210	 Time of day receive	 No function
VHF_AM_RADIO(55)	3002	VHFUHF17P	BTN	565	1	0	1	ARC-210	 Time of day receive	 No function
VHF_AM_RADIO(55)	3003	VHFUHF16P	BTN	566	1	0	1	ARC-210	 Global positioning system	 No function
VHF_AM_RADIO(55)	3003	VHFUHF16P	BTN	566	1	0	1	ARC-210	 Global positioning system	 No function
VHF_AM_RADIO(55)	3004	VHFUHF15P	BTN	567	1	0	1	ARC-210	 Select receiver - transmitter	 No function
VHF_AM_RADIO(55)	3004	VHFUHF15P	BTN	567	1	0	1	ARC-210	 Select receiver - transmitter	 No function
VHF_AM_RADIO(55)	3005	VHFUHF19P	BTN	563	1	0	1	ARC-210	 upper FSK	
VHF_AM_RADIO(55)	3005	VHFUHF19P	BTN	563	1	0	1	ARC-210	 upper FSK	
VHF_AM_RADIO(55)	3006	VHFUHF20P	BTN	562	1	0	1	ARC-210	 middle FSK	
VHF_AM_RADIO(55)	3006	VHFUHF20P	BTN	562	1	0	1	ARC-210	 middle FSK	
VHF_AM_RADIO(55)	3007	VHFUHF21P	BTN	561	1	0	1	ARC-210	 lower FSK	
VHF_AM_RADIO(55)	3007	VHFUHF21P	BTN	561	1	0	1	ARC-210	 lower FSK	
VHF_AM_RADIO(55)	3008	VHFUHF22P	BTN	560	1	0	1	ARC-210	 brightness increase	
VHF_AM_RADIO(55)	3008	VHFUHF22P	BTN	560	1	0	1	ARC-210	 brightness increase	
VHF_AM_RADIO(55)	3009	VHFUHF23P	BTN	559	1	0	1	ARC-210	 brightness decrease	
VHF_AM_RADIO(55)	3009	VHFUHF23P	BTN	559	1	0	1	ARC-210	 brightness decrease	
VHF_AM_RADIO(55)	3010	VHFUHF13P	BTN	569	1	0	1	ARC-210	 Menu pages	
VHF_AM_RADIO(55)	3010	VHFUHF13P	BTN	569	1	0	1	ARC-210	 Menu pages	
VHF_AM_RADIO(55)	3011	VHFUHF12P	BTN	570	1	0	1	ARC-210	 Amplitude modulation / frequency modulation select	
VHF_AM_RADIO(55)	3011	VHFUHF12P	BTN	570	1	0	1	ARC-210	 Amplitude modulation / frequency modulation select	
VHF_AM_RADIO(55)	3012	VHFUHF11P	BTN	571	1	0	1	ARC-210	 Transmit / receive function toggle	
VHF_AM_RADIO(55)	3012	VHFUHF11P	BTN	571	1	0	1	ARC-210	 Transmit / receive function toggle	
VHF_AM_RADIO(55)	3013	VHFUHF10P	BTN	572	1	0	1	ARC-210	 Offset frequency	
VHF_AM_RADIO(55)	3013	VHFUHF10P	BTN	572	1	0	1	ARC-210	 Offset frequency	
VHF_AM_RADIO(55)	3014	VHFUHF9P	BTN	573	1	0	1	ARC-210	 Enter	 No function
VHF_AM_RADIO(55)	3014	VHFUHF9P	BTN	573	1	0	1	ARC-210	 Enter	 No function
VHF_AM_RADIO(55)	3015	VHFUHF14P	TUMB	568	1	0	1	ARC-210	 Squelch on/off	
VHF_AM_RADIO(55)	3015	VHFUHF14P	TUMB	568	1	0	1	ARC-210	 Squelch on/off	
VHF_AM_RADIO(55)	3017	VHFUHF8P	TUMB	558	-0.1	0	0.3	ARC-210	 25  KHz Selector	
VHF_AM_RADIO(55)	3017	VHFUHF8P	TUMB	558	0.1	0	0.3	ARC-210	 25  KHz Selector	
VHF_AM_RADIO(55)	3019	VHFUHF7P	TUMB	557	-0.1	0	0.9	ARC-210	 100 KHz Selector	
VHF_AM_RADIO(55)	3019	VHFUHF7P	TUMB	557	0.1	0	0.9	ARC-210	 100 KHz Selector	
VHF_AM_RADIO(55)	3021	VHFUHF6P	TUMB	556	-0.1	0	0.9	ARC-210	 1 MHz Selector	
VHF_AM_RADIO(55)	3021	VHFUHF6P	TUMB	556	0.1	0	0.9	ARC-210	 1 MHz Selector	
VHF_AM_RADIO(55)	3023	VHFUHF5P	TUMB	555	-0.1	0	0.9	ARC-210	 10 MHz Selector	
VHF_AM_RADIO(55)	3023	VHFUHF5P	TUMB	555	0.1	0	0.9	ARC-210	 10 MHz Selector	
VHF_AM_RADIO(55)	3025	VHFUHF4P	TUMB	554	-0.1	0	0.3	ARC-210	 100 MHz Selector	
VHF_AM_RADIO(55)	3025	VHFUHF4P	TUMB	554	0.1	0	0.3	ARC-210	 100 MHz Selector	
VHF_AM_RADIO(55)	3027	VHFUHF2P	LEV	552	1	0	1	ARC-210	 channel select knob	
VHF_AM_RADIO(55)	3043	VHFUHF1P	TUMB	551	-0.1	0	0.6	ARC-210	 master switch	
VHF_AM_RADIO(55)	3043	VHFUHF1P	TUMB	551	0.1	0	0.6	ARC-210	 master switch	
VHF_AM_RADIO(55)	3044	VHFUHF3P	TUMB	553	-0.1	0	0.6	ARC-210	 secondary switch	
VHF_AM_RADIO(55)	3044	VHFUHF3P	TUMB	553	0.1	0	0.6	ARC-210	 secondary switch	

 

4930K @ 4.5, 32g ram, TitanPascal

Link to comment
Share on other sites

15 minutes ago, skypickle said:

I cannot get the freq selectors to work. For example, a rotary assigned ID 3023, Device 55 with increment 0.1 and range 0.1 to 0.9 flips the knob all the way. Is there something else I should be using?

On which aircraft? I get that on the Mirage F1 INS panel. Might be a bug because it happens with the keyboard commands too.

38 minutes ago, skypickle said:

Is there a way to improve the description that the plug in gets for the functions of the buttons of the arc210 radio? Presently it looks like this:

image.png

I found this with clickable data extract:

VHF_AM_RADIO(55)	3001	VHFUHF18P	BTN	564	1	0	1	ARC-210	 Time of day send	 No function
VHF_AM_RADIO(55)	3001	VHFUHF18P	BTN	564	1	0	1	ARC-210	 Time of day send	 No function
VHF_AM_RADIO(55)	3002	VHFUHF17P	BTN	565	1	0	1	ARC-210	 Time of day receive	 No function
VHF_AM_RADIO(55)	3002	VHFUHF17P	BTN	565	1	0	1	ARC-210	 Time of day receive	 No function
VHF_AM_RADIO(55)	3003	VHFUHF16P	BTN	566	1	0	1	ARC-210	 Global positioning system	 No function
VHF_AM_RADIO(55)	3003	VHFUHF16P	BTN	566	1	0	1	ARC-210	 Global positioning system	 No function
VHF_AM_RADIO(55)	3004	VHFUHF15P	BTN	567	1	0	1	ARC-210	 Select receiver - transmitter	 No function
VHF_AM_RADIO(55)	3004	VHFUHF15P	BTN	567	1	0	1	ARC-210	 Select receiver - transmitter	 No function
VHF_AM_RADIO(55)	3005	VHFUHF19P	BTN	563	1	0	1	ARC-210	 upper FSK	
VHF_AM_RADIO(55)	3005	VHFUHF19P	BTN	563	1	0	1	ARC-210	 upper FSK	
VHF_AM_RADIO(55)	3006	VHFUHF20P	BTN	562	1	0	1	ARC-210	 middle FSK	
VHF_AM_RADIO(55)	3006	VHFUHF20P	BTN	562	1	0	1	ARC-210	 middle FSK	
VHF_AM_RADIO(55)	3007	VHFUHF21P	BTN	561	1	0	1	ARC-210	 lower FSK	
VHF_AM_RADIO(55)	3007	VHFUHF21P	BTN	561	1	0	1	ARC-210	 lower FSK	
VHF_AM_RADIO(55)	3008	VHFUHF22P	BTN	560	1	0	1	ARC-210	 brightness increase	
VHF_AM_RADIO(55)	3008	VHFUHF22P	BTN	560	1	0	1	ARC-210	 brightness increase	
VHF_AM_RADIO(55)	3009	VHFUHF23P	BTN	559	1	0	1	ARC-210	 brightness decrease	
VHF_AM_RADIO(55)	3009	VHFUHF23P	BTN	559	1	0	1	ARC-210	 brightness decrease	
VHF_AM_RADIO(55)	3010	VHFUHF13P	BTN	569	1	0	1	ARC-210	 Menu pages	
VHF_AM_RADIO(55)	3010	VHFUHF13P	BTN	569	1	0	1	ARC-210	 Menu pages	
VHF_AM_RADIO(55)	3011	VHFUHF12P	BTN	570	1	0	1	ARC-210	 Amplitude modulation / frequency modulation select	
VHF_AM_RADIO(55)	3011	VHFUHF12P	BTN	570	1	0	1	ARC-210	 Amplitude modulation / frequency modulation select	
VHF_AM_RADIO(55)	3012	VHFUHF11P	BTN	571	1	0	1	ARC-210	 Transmit / receive function toggle	
VHF_AM_RADIO(55)	3012	VHFUHF11P	BTN	571	1	0	1	ARC-210	 Transmit / receive function toggle	
VHF_AM_RADIO(55)	3013	VHFUHF10P	BTN	572	1	0	1	ARC-210	 Offset frequency	
VHF_AM_RADIO(55)	3013	VHFUHF10P	BTN	572	1	0	1	ARC-210	 Offset frequency	
VHF_AM_RADIO(55)	3014	VHFUHF9P	BTN	573	1	0	1	ARC-210	 Enter	 No function
VHF_AM_RADIO(55)	3014	VHFUHF9P	BTN	573	1	0	1	ARC-210	 Enter	 No function
VHF_AM_RADIO(55)	3015	VHFUHF14P	TUMB	568	1	0	1	ARC-210	 Squelch on/off	
VHF_AM_RADIO(55)	3015	VHFUHF14P	TUMB	568	1	0	1	ARC-210	 Squelch on/off	
VHF_AM_RADIO(55)	3017	VHFUHF8P	TUMB	558	-0.1	0	0.3	ARC-210	 25  KHz Selector	
VHF_AM_RADIO(55)	3017	VHFUHF8P	TUMB	558	0.1	0	0.3	ARC-210	 25  KHz Selector	
VHF_AM_RADIO(55)	3019	VHFUHF7P	TUMB	557	-0.1	0	0.9	ARC-210	 100 KHz Selector	
VHF_AM_RADIO(55)	3019	VHFUHF7P	TUMB	557	0.1	0	0.9	ARC-210	 100 KHz Selector	
VHF_AM_RADIO(55)	3021	VHFUHF6P	TUMB	556	-0.1	0	0.9	ARC-210	 1 MHz Selector	
VHF_AM_RADIO(55)	3021	VHFUHF6P	TUMB	556	0.1	0	0.9	ARC-210	 1 MHz Selector	
VHF_AM_RADIO(55)	3023	VHFUHF5P	TUMB	555	-0.1	0	0.9	ARC-210	 10 MHz Selector	
VHF_AM_RADIO(55)	3023	VHFUHF5P	TUMB	555	0.1	0	0.9	ARC-210	 10 MHz Selector	
VHF_AM_RADIO(55)	3025	VHFUHF4P	TUMB	554	-0.1	0	0.3	ARC-210	 100 MHz Selector	
VHF_AM_RADIO(55)	3025	VHFUHF4P	TUMB	554	0.1	0	0.3	ARC-210	 100 MHz Selector	
VHF_AM_RADIO(55)	3027	VHFUHF2P	LEV	552	1	0	1	ARC-210	 channel select knob	
VHF_AM_RADIO(55)	3043	VHFUHF1P	TUMB	551	-0.1	0	0.6	ARC-210	 master switch	
VHF_AM_RADIO(55)	3043	VHFUHF1P	TUMB	551	0.1	0	0.6	ARC-210	 master switch	
VHF_AM_RADIO(55)	3044	VHFUHF3P	TUMB	553	-0.1	0	0.6	ARC-210	 secondary switch	
VHF_AM_RADIO(55)	3044	VHFUHF3P	TUMB	553	0.1	0	0.6	ARC-210	 secondary switch	

 

what else do you want from the description? It should match the popup on the mouse cursor.

Link to comment
Share on other sites

@bones1014This is for the A10C-2 with the ARC - 210 radio. The description in the dialog from the plug in just says ARC-210. The extra description from the clickable data extract that identifies the button function is not shown for me in the stream deck plugin dialog.How do you identify what each button does. What popup are you talking about?

 

As for which aircraft, I thought it is obvious that I am speaking about the ARC-210 radio.The freq selector doesn't work. For the 100 MHz, I can only get it to go up. For the 10 MHz it goes from one extreme to the other with one click even tho the increment is set to 0.1. Is this your experience?

4930K @ 4.5, 32g ram, TitanPascal

Link to comment
Share on other sites

@bones1014This is for the A10C-2 with the ARC - 210 radio. The description in the dialog from the plug in just says ARC-210. The extra description from the clickable data extract that identifies the button function is not shown for me in the stream deck plugin dialog.How do you identify what each button does. What popup are you talking about?
 
As for which aircraft, I thought it is obvious that I am speaking about the ARC-210 radio.The freq selector doesn't work. For the 100 MHz, I can only get it to go up. For the 10 MHz it goes from one extreme to the other with one click even tho the increment is set to 0.1. Is this your experience?
I didn't know which plane the arc 210 is in. 🫤 The pop-up is the one in the cockpit when you mouse over the control. You can search for that text if you have to.

Sent from my SM-G781U using Tapatalk

Link to comment
Share on other sites

I hate everything 😐 Restarting my pc for the 10th time got it working again, I don't know how but it did.

 

Has anyone run into an issue recently where the script stops working in game and out? ID Lookup and DCS Comms are both blank and if I click a button I've already created it flashes up a yellow warning symbol on that button and nothing happens. I'm assuming something has gone wrong and the script isn't communicating with the streamdeck and vice versa but I'm not sure what to do, I've tried uninstalling and reinstalling but no dice. I noticed it happening yesterday but I haven't done an PC updates or even installed/uninstalled any programs in the past few days so it can't be something like that interfering with it. I've also tried removing everything in my Export.lua except the ExportScript.lua line but nothing happened.


Edited by 3000 Black Jets of Allah
fixed my problem
Link to comment
Share on other sites

  • 3 weeks later...
1 minute ago, Phoenix FR said:

Ok, you mean that you can set up a key binding when you rotate to the right, and another one when you rotate to the left, like a 2 way button ?

exactly 🙂  There's a left, and tap control you can set.

null

null

image.png

image.png


Edited by bones1014
Link to comment
Share on other sites

6 minutes ago, Phoenix FR said:

Thank you for the answer. 😀

I have to order one to test.

What is the difference in your profile between 1 and 10s. Is it the amount that is increment ?

one turns the 1's position of the TACAN and the other the 10's position.

Link to comment
Share on other sites

  • 3 weeks later...

I had downloaded the stream deck  profile of FA-18, it can show the amount of fuel and bingo  on stream deck(ID 2008,2009,2010),how can i find the ID on P-47 or the other plane(i want to show the frequency on stream deck,is this possible?) is there any ExportsModules.lua For P-47-40?THANKS


Edited by SeraphimTony
Link to comment
Share on other sites

  • 2 weeks later...

Hi, I have a question about StreamDeck. I know it's probably possible to do it somehow, I even saw on YouTube that someone had it working. I'm wondering how I can display data on the StreamDeck, such as altitude and speed. I'm flying F/A-18C. I tried looking for these values in the DCS Comms tab, but I couldn't find anything. I also tried searching the forum, but I didn't find anything. Could someone explain how to do it?

Link to comment
Share on other sites

15 hours ago, B1gBlowek said:

Hi, I have a question about StreamDeck. I know it's probably possible to do it somehow, I even saw on YouTube that someone had it working. I'm wondering how I can display data on the StreamDeck, such as altitude and speed. I'm flying F/A-18C. I tried looking for these values in the DCS Comms tab, but I couldn't find anything. I also tried searching the forum, but I didn't find anything. Could someone explain how to do it?

Sure it's possible but why do you need to? There's a nice HUD with all that data easily available. Better than on the Stream Deck.

Link to comment
Share on other sites

28 minutes ago, bones1014 said:

Sure it's possible but why do you need to? There's a nice HUD with all that data easily available. Better than on the Stream Deck.

I know that the HUD displays them quite well, but I've had a few situations where flying at low altitude without autopilot, I zoomed in on the MFD view and couldn't see the HUD. When I looked up again, it turned out that I was about to crash because I would have flown into the ground. Generally, by having access to this data at all times, even when not looking at the HUD, I could avoid such situations.

Link to comment
Share on other sites

5 hours ago, B1gBlowek said:

I know that the HUD displays them quite well, but I've had a few situations where flying at low altitude without autopilot, I zoomed in on the MFD view and couldn't see the HUD. When I looked up again, it turned out that I was about to crash because I would have flown into the ground. Generally, by having access to this data at all times, even when not looking at the HUD, I could avoid such situations.

As I said before, you can do it. I wouldn't be able to help as I don't own the Hornet. If you're good at duplicating other examples you could look at any of the module export files that display the altitude and probably work it out the same way in the Hornet. 
null

Link to comment
Share on other sites

4 hours ago, Ich Dien said:

Hey, the plugin & exports are functional as I can program lights and buttons using known IDs, but for all modules except Flaming Cliffs, the ID Lookup list is blank. 

you probably don't have the correct directory in the top of the ID lookup window.

Link to comment
Share on other sites

7 hours ago, bones1014 said:

you probably don't have the correct directory in the top of the ID lookup window.

It's definitely my install directory and all my modules populate. Putting in a different directory causes them to depopulate. 


Edited by Ich Dien
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...