Giter Club home page Giter Club logo

dcs-skunkworks / dcsflightpanels Goto Github PK

View Code? Open in Web Editor NEW
155.0 16.0 28.0 43.62 MB

Saitek/Logitech Flight Panels & Stream Deck support for DCS-World. DCSFlightpanels also functions as a key-emulator for any game e.g. Flaming Cliff Series, Elite Dangerous, War Thunder, IL-2. Click "Releases" link below for latest release.

License: MIT License

Batchfile 0.01% C# 99.87% PowerShell 0.13%
saitek dcs-world elite-dangerous keyemulator flaming-cliff-series il-2 war-thunder logitech pro-flight-panels dcs

dcsflightpanels's People

Contributors

akjack avatar dependabot[bot] avatar derammo avatar jdahlblom avatar landre-cerp avatar matt-cahill avatar mutex666 avatar pdmarsh avatar warlord211 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcsflightpanels's Issues

F10 key can not be assigned to a keypress

i cant assign the F10 key as a key press on the stream deck to bring up the map in dcs. All the other F1 to F12 keys i can assign. I also checked the switch panel, radio panel and multi panel and all have the same issue

PZ69 support for enabling/disabling radios

It would be fantastic if a long press of the standby/active switch would switch radios on and off (including TACAN, perhaps just rotating between Off, T/R, and A/A T/R?)

BUG: deleting streamdeck dsc-bios button action results in error

set up any button with a dcs-bios action and then try to delete it to reproduce

02.05.2020 04:05:59  version : 1.0.218.6063

System.Exception
Cannot insert KeyPress, Bill already contains DCSBIOSInputs
   at DCSFlightpanels.Bills.BillBaseInput.set_KeyPress(KeyPress value)
   at DCSFlightpanels.Bills.BillStreamDeckAction.Clear()
   at DCSFlightpanels.PanelUserControls.UserControlStreamDeckButtonAction.ButtonDeleteDCSBIOSActionButtonOn_OnClick(Object sender, RoutedEventArgs e)

image

Possibility to use radio panel for general use

It seems that currently there has to be built in support in DCSFlightpanels for an aircraft for the radio panel to work. I would like to remove this restriction and would like to be able to map the knobs and buttons on the radio panel for any functionality, in the same that the other panels work.

For example, when I fly the L-39 aircraft, I get the message:

The radios for this airframe has not been implemented. Donate to DCSFP and indicate the airframe you want supported. Donation will go to aquiring the DCS module.

I don't mind that radios haven't been implemented for the L-39. I would be fine with doing the DCS-BIOS mappings I want myself, but it seems I can't. Or is there a way to do it?

purge all settings when open/close profile

opening a new profile without quitting causes the following error and aditional errors like Layer X cannot be found etc.

20.04.2020 05:36:20  version : 1.0.211.7151
1068 Custom message = []
System.NullReferenceException
Object reference not set to an instance of an object.
   at DCSFlightpanels.PanelUserControls.SwitchPanelPZ55UserControl.ClearAll(Boolean clearAlsoProfile)
   at DCSFlightpanels.PanelUserControls.SwitchPanelPZ55UserControl.SettingsCleared(Object sender, PanelEventArgs e)

Feature Request: Allow changing StreamDeck button image based on DCS-BIOS data

A simple example of this would be to switch between two images to simulate the flashing of the master caution button.
One image would be the unlit button and the second would be the lit one. Tying this to the output would be something along the lines of a comparison of if MASTER_CAUTION > 0 then display lit button image

Where this could make DCSFlightPanels way more powerful than any other current solution would be if it supported greater than two image states.

For example take the 5 position TACAN mode dial in the A-10. If 5 image states were available that entire switch could be controlled and simulated on one button by having an image for each state of the switch and using the increment or sequence output data methods.

UH-1H - UHF frequency band

The UHF for the UH-1H Huey is limited in 225.000 Mhz in DCSFP
In DCS you can actually go down to 200.000 Mhz.
Any chance to have this corrected? Thanks!

Feature Request: allow cut/copy/paste buttons

From experience it is very common to get half way through designing a profile for the streamdeck and then realise it would work better in another layout.
Currently the only option is to reprogram from scratch each button in the new layout, which is very time consuming.

Ideal solution: implement cut/copy/paste of buttons and drag and drop of buttons so that buttons swap positions if one is dragged on top of the other.

Feature Request: show configured button image in UI

Building a profile can be very confusing if you have to constantly refer back to the device itself. Allowing the UI to display the configured icon would make it easier to know which button you are working on.

Usability Improvement: Streamdeck USB instance ID

Each panel is referenced in the profile save file by its USB ID and each streamdeck button is tied to that panel using the same ID in the json config block.

If a user's panel ID changes for whatever reason the user will need to update a large number of entries to fix their profile. As an example the simple master caution 2 button config example provided for #67 contains 9 references. Additionally JSON is very strict which could cause issues for people who don't know what they are doing.

PanelInstanceID provided by the UI and used to reference the panel.

\\?\hid#vid_0fd9&pid_006c#6&27db50b8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}

In the JSON the backslashes are also escaped which may exacerbate the issue.

\\\\?\\hid#vid_0fd9&pid_006c#6&27db50b8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}

Would it be possible to reference the panel USB ID once to identify the panel and then map that to some kind of arbitrary panel reference ID to be used in the JSON to tie the buttons to that panel?
That way a user would only have to update a single line to fix their profile.

An example might look something like this

PanelType=StreamDeck
PanelInstanceID=\\?\hid#vid_0fd9&pid_006c#6&27db50b8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
+PanelReferenceID=Panel_1
PanelSettingsVersion=2X
BeginPanelJSON
{
  "$type": "System.Collections.Generic.List`1[[NonVisuals.StreamDeck.StreamDeckLayer, NonVisuals]], mscorlib",
  "$values": [
    {
      "$type": "NonVisuals.StreamDeck.StreamDeckLayer, NonVisuals",
      "Name": "Home",
      "StreamDeckButtons": {
        "$type": "System.Collections.Generic.List`1[[NonVisuals.StreamDeck.StreamDeckButton, NonVisuals]], mscorlib",
        "$values": [
          {
            "$type": "NonVisuals.StreamDeck.StreamDeckButton, NonVisuals",
            "StreamDeckButtonName": 1,
            "Face": {
              "$type": "NonVisuals.StreamDeck.FaceTypeImage, NonVisuals",
              "FaceType": 2,
              "ConfigurationOK": true,
              "TextFont": "Consolas, 12pt",
              "FontColor": "Black",
              "BackgroundColor": "Black",
              "ImageFile": "..\\..\\test\\testbouton.png",
              "StreamDeckButtonName": 1,
-             "StreamDeckInstanceId": "\\\\?\\hid#vid_0fd9&pid_006c#6&27db50b8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}",
+             "StreamDeckReferenceId": "Panel_1",
              "OffsetX": 0,
              "OffsetY": 0
            },
            "ActionForPress": null,
            "ActionForRelease": null,
            "HasConfig": true,
            "ActionType": 0,
            "FaceType": 2
          }
        ]
      },
      "IsVisible": true,
-     "StreamDeckInstanceId": "\\\\?\\hid#vid_0fd9&pid_006c#6&27db50b8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}",
+     "StreamDeckReferenceId": "Panel_1",
    }
  ]
}
EndPanelJSON

Failed to find control ALT_MSL_FT for airframe Mi-8MT (Mi-8MT.json)

with FP 2.7.8 and BIOS 0.7.16, Mi-8 profile with NS430 enabled

11.11.2018 05:50:35  version : 1.0.104.5289
12061 Custom message = []
System.Exception
Check DCS-BIOS version. Failed to find control ALT_MSL_FT for airframe Mi-8MT (Mi-8MT.json). Did you switch airframe type for the profile and have existing control(s) for the previous type saved?
Sequence contains more than one matching element
   at DCS_BIOS.DCSBIOSControlLocator.GetControl(String controlId)
   at DCS_BIOS.DCSBIOSOutput.ImportString(String str)
   at NonVisuals.DCSBIOSBindingLCDPZ70.ImportSettings(String settings)
   at NonVisuals.MultiPanelPZ70.ImportSettings(List`1 settings)
   at NonVisuals.ProfileHandler.ProfileReadFromFileEventHandler.Invoke(Object sender, SettingsReadFromFileEventArgs e)
   at NonVisuals.ProfileHandler.SendSettingsReadEvent()

Hold key not working

Hi,
When I try the hold key option I think he press multiple time.
I use the pannel with Star Citizen, I know its not made for it but when I need to press for one second a key he execute the commend when I press and release the key (example I just go out of the chair and don't eject).

Thanks ^^'

Variables not received on some SD

I guess this one is hard because depending on the streamdeck, behavior is different.
I mostly have not too many issues with the XL but the 15 buttons and the mini are another story.
The std doesn't seem to properly receive the values of a given variable. I am using the Ka-50 profile. When programming the exact same output on the XL, I can see the variable value (LED) going from zero to one alright. With the exact same button on the SD standard, it doesn't show any change in the variable value, but it does change it on the twin button of the XL. Can it be a problem with SD being on a USB hub?

F-14 booth Radio presets

Since booth Radios goes cracy with the Preset knobs i found the error and eliminate it in BIOS but i think this change affects FP.

Here the changes left old / right new

Pilot
2020-04-18 (1)

RIO
2020-04-18 (2)

here the new readouts for frequencies:
2020-04-18 (3)

the lua with this changes
F-14B.zip

Feature Improvement: Export images alongside button export metadata

In order to facilitate easier sharing of streamdeck profiles within the DCSFP user community a simple way to include or link the required images for a profile is requested.

As there is already a metadata import/export feature it makes sense to augment this to collect together all the referenced images in a profile into one folder on export and provide a simple way to automatically re-link the images with the buttons on import.

Design wise I imagine something along these lines

  • On Export:

    • DCSFP produces a folder containing the json formatted text file and all images.
    • the exported image paths would be re-written to their relative path in the collection.
  • Considerations here would be

    • image file name conflicts - sub folders for each button maybe or append an instance number or rename based on function?
    • do not include images that are already included with DCSFP e.g. home button image
    • de-duplication of images i.e. if the same image is used multiple times only include (collect) it once and reference it multiple times in the metadata
  • Sharing

    • This folder could then easily be zipped up and transferred or committed to a git repo or similar.
  • On Import:

    • The user selects either the shared folder or the json file inside the folder (whichever makes more sense) to start the import process.
    • DCSFP would initially look in the same folder for the images i.e. use the containing folder of the json file as the root of the relative image file paths contained within the export file.
    • IF the FIRST image looked for by DCSFP is not found the user could be asked for the location of the folder containing the images.
    • Otherwise any subsequent failures could be handled in one of two ways:
      • Ask for the location of each missing file or offer to skip
      • Skip all missing files and notify at the end letting the user re-link them in the UI manually.

Hope that makes sense @jdahlblom? Can discuss further on Discord.

PZ70 Multipanel FLAPS_LEVER_DOWN textbox not found

Version 2.8.1 Pre-release

If trying to load a .bindings-file with a binding for FLAPS_LEVER_DOWN, I get the following error:

25.12.2018 11.23.29  version : 1.0.116.7055
993013 Custom message = []
System.Exception
Failed to find TextBox MultiPanel knob FLAPS_LEVER_DOWN
   at DCSFlightpanels.MultiPanelUserControl.GetTextBox(MultiPanelPZ70Knobs knob, Boolean whenTurnedOn)
   at DCSFlightpanels.MultiPanelUserControl.ShowGraphicConfiguration()

If I try to save with something binded to FLAPS_LEVER_DOWN, it empties all bindings in multi-panel.

Here's my .bindings-file:

Airframe=P51D
OperationLevelFlag=3

PanelType=PZ70MultiPanel
PanelInstanceID=\\?\hid#vid_06a3&pid_0d06#8&9048cc7&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
PanelSettingsVersion=2X
BeginPanel
	MultiPanelKnob{ALT}\o/{1FLAPS_LEVER_UP}\o/OSKeyPress{FiftyMilliSec,LCONTROL + VK_F}
	MultiPanelKnob{ALT}\o/{1FLAPS_LEVER_DOWN}\o/OSKeyPress{FiftyMilliSec,VK_F}
	MultiPanelKnob{ALT}\o/{1AP_BUTTON}\o/OSKeyPress{FiftyMilliSec,VK_A}
	MultiPanelKnob{ALT}\o/{0AP_BUTTON}\o/OSKeyPress{FiftyMilliSec,LCONTROL + VK_9}
	MultiPanelKnob{VS}\o/{1FLAPS_LEVER_UP}\o/OSKeyPress{FiftyMilliSec,LCONTROL + VK_F}
	MultiPanelKnob{VS}\o/{1FLAPS_LEVER_DOWN}\o/OSKeyPress{FiftyMilliSec,VK_F}
	MultiPanelKnob{VS}\o/{1AP_BUTTON}\o/OSKeyPress{FiftyMilliSec,VK_A}
	MultiPanelKnob{VS}\o/{0AP_BUTTON}\o/OSKeyPress{FiftyMilliSec,LCONTROL + VK_9}
	MultiPanelKnob{IAS}\o/{0AP_BUTTON}\o/OSKeyPress{FiftyMilliSec,LCONTROL + VK_9}
	MultiPanelKnob{HDG}\o/{0AP_BUTTON}\o/OSKeyPress{FiftyMilliSec,LCONTROL + VK_9}
	MultiPanelKnob{IAS}\o/{1AP_BUTTON}\o/OSKeyPress{FiftyMilliSec,VK_A}
	MultiPanelKnob{HDG}\o/{1AP_BUTTON}\o/OSKeyPress{FiftyMilliSec,VK_A}
	MultiPanelKnob{IAS}\o/{1FLAPS_LEVER_UP}\o/OSKeyPress{FiftyMilliSec,LCONTROL + VK_F}
	MultiPanelKnob{HDG}\o/{1FLAPS_LEVER_UP}\o/OSKeyPress{FiftyMilliSec,LCONTROL + VK_F}
	MultiPanelKnob{HDG}\o/{1FLAPS_LEVER_DOWN}\o/OSKeyPress{FiftyMilliSec,VK_F}
	MultiPanelKnob{IAS}\o/{1FLAPS_LEVER_DOWN}\o/OSKeyPress{FiftyMilliSec,VK_F}
	MultiPanelDCSBIOSControlLCD{ALT}\o/{UpperLCD}\o/DCSBiosOutput{ALT_MSL_FT|Equals|0}
	MultiPanelDCSBIOSControlLCD{ALT}\o/{LowerLCD}\o/DCSBiosOutput{AIRSPEED_MPH_VALUE|Equals|0}
EndPanel

F/A-18C support

Just adding these as placeholders. I'm not sure if this is being actively maintained any more.

M2000C Radio panel

Hello, are you going to update the M2000C radio profile? After last Razbam`s patch there is no more possibility to tune green radio, ILS or TACAN.
Greetngs!

M2000-C Radio issues

VHF radio of the Mirage 2000-C do not cycle from channel 20 to chanel 1. When reaching channel 20 manually, you should be able to switch to channel 1 but unfortunately, you have to go back from 20 to 1 in back order which is time consuming.
For UHF radio, when in cockpit, radio channel 1 is displayed as channel 0 on the Flightpanels display.

Delegate to an instance method cannot have null 'this'

Open any profile with wrong IDs, hit OK buttons and close profile.

11.11.2018 07:19:11  version : 1.0.104.5289
471072 Custom message = []
System.ArgumentException
Delegate to an instance method cannot have null 'this'.
   at System.MulticastDelegate.ThrowNullThisInDelegateToInstance()
   at NonVisuals.ProfileHandler.Detach(SaitekPanel saitekPanel)
   at DCSFlightpanels.MainWindow.CloseTabItems()

Pressing "Save" on DCSFlightpanels causes crashes in VKB Dev CFG

DCS Flight panels version 64_3.6.22.
Open it, make any changes to PZ55 profile and press save.
Attempt to open VKBDEVCFG (software used by VKB joystick configuration utility). The software will become unresponsive and crash shortly. Even closing out of DCS Flight panels doesn't allow VKB DEV CFG to work.
I have to restart my machine.

A-10C: standby frequency incorrectly set

When switching frequencies, the decimal portion of the standby frequency (at least on VHF AM) is incorrectly set. If you're switching away from 144.30 (for example), the standby frequency will be set to 144.03.

BUG F14 Hook Bypass doesn't work

When mapping a switch to set either 0 or 1 to the HOOK BYPASS on the F14, the cockpit switch doesn't move and the mode doesn't change.

Feature request-abilty to add a sound file to a key press

Some DCS modules when you flick a switch in the cockpit you can hear a related sound file. Some modules such as KA50 no sound is heard when you flick a toggle switch. So a cool feature would be to add a sound file when programming a key press. So as well as having on the stream deck main page "BUTTON ACTION" and "BUTTON IMAGE" you could have the option of "SOUND FILE".

PZ69 support for radio presets

It would also be great if the software could detect whether or not you've selected preset channels for a given radio, and allow you to select between them.

Image import destination folder path error

The original error in 4.0.62 was like this however the behavior has improved in 4.0.64.


Making a new folder in the image destination dialog and naming it keeps the name "New Folder" and results in an I/O error

14.05.2020 06:50:13  version : 1.0.256.4835

System.IO.DirectoryNotFoundException
Could not find a part of the path '..\DCSFlightPanelsProfiles\New folder\0.png'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at DCSFlightpanels.Windows.StreamDeck.ImportWindow.CopyImagesToNewLocation()
   at DCSFlightpanels.Windows.StreamDeck.ImportWindow.ButtonImport_OnClick(Object sender, RoutedEventArgs e)
image

subsequent re-selection of the image folder results in a path like this

"ImageFile": "..\\DCSFlightPanelsProfiles\\f18_import\\..\\DCSFlightPanelsProfiles\\New folder\\symbrt.png",

In 4.0.64 the two paths are no longer concatenated but it is still possible to get a path containing New folder instead of the actual name of the created folder. Steps to reproduce:

This only happens if the destination of the new folder is not open in a File Explorer at the same time,

  1. Start an import using an export file that contains images
  2. In the image folder box click Browse...
  3. Choose a suitable path and then click Make New Folder
  4. Type in a name BUT do not press enter
    1 Press OK

You should end up with a path like this ..\\DCSFlightPanelsProfiles\\New folder in the Image Folder box but the actual name of the folder on disk will be whatever you typed in.

Stretched pics

A picture that is not square will stretched across the button and look strange. (see flip switch)
20200607_005322

Feature Request: consider storing image references in profile as a relative path

This would allow people to share their streamdeck profiles without the recipient having to re-link all of the image assets. The path should be relative to the profile file.

Another option would be to have a collect and export function where all the assets were collected together and a portable version of the profile was generated and delivered to the user as a zip or similar bundle.

12061 Object reference not set to an instance of an object

with FP 2.7.8 and BIOS 0.7.16:

11.11.2018 05:37:00  version : 1.0.104.5289
666 Custom message = [Via SaitekPanel.SetLastException()]
System.Exception
DCSBIOSControlLocator.GetDCSBIOSOutput() Should not be called when only key emulator is active
   at DCS_BIOS.DCSBIOSControlLocator.GetDCSBIOSOutput(String controlId)
   at NonVisuals.RadioPanelPZ69Ka50.Startup()
11.11.2018 05:37:00  version : 1.0.104.5289
12061 Custom message = []
System.NullReferenceException
Object reference not set to an instance of an object.
   at DCS_BIOS.DCSBIOSInput.Consume(DCSBIOSControl dcsbiosControl)
   at DCS_BIOS.DCSBIOSInput.ImportString(String str)
   at NonVisuals.DCSBIOSBindingPZ55.ImportSettings(String settings)
   at NonVisuals.SwitchPanelPZ55.ImportSettings(List`1 settings)
   at NonVisuals.ProfileHandler.ProfileReadFromFileEventHandler.Invoke(Object sender, SettingsReadFromFileEventArgs e)
   at NonVisuals.ProfileHandler.SendSettingsReadEvent()

F18 radio panel issue

I have this issue with f18 radio panel.
Com 1 and 2 volume knob is working but larger knob which should change chanel doesn't. Com frequency is shown correctly but only when I put it in cockpit.
Also ILS chanel after changing to manual is working weird.
It doesn't change chanel to the one I choose.
When I choose for example chanel 11 it is going to change to eg. 4 by its own.
No possibility to enter correct chanel.

High CPU load when connection to panel lost

I noticed minor problem with scenerio, I have panels connected via HUB USB RaidSonic IcyBox 7 where each has a on/off switch:

  • all 3 panels are connected and switch turned on
  • start DCSFlightpanels, no problem everything working wit DCS
  • turn switches off / disconnect panels (don't really matter if DCS is on or off)
  • DCSFlightpanels use ~40% CPU
  • turn switches on / connect panels
  • load back to normal

Probably there is some polling of searching for device which cause so high load but since it isn't proper way of using I thing is a minor issue.

But I thing you can tak a look and see some optimization when connection to panel is lost.

FIPs stops working

There is a bug causing the FIP(s) to stop updating, at the same time FP too stops working.

BUG: Switching layers using a streamdeck button causes error

02.05.2020 10:14:26  version : 1.0.218.6063

System.InvalidOperationException
The calling thread cannot access this object because a different thread owns it.
   at System.Windows.Threading.Dispatcher.VerifyAccess()
   at DCSFlightpanels.PanelUserControls.UserControlStreamDeckUIBase.HideAllDotImages()
   at DCSFlightpanels.PanelUserControls.UserControlStreamDeckUIBase.UpdateButtonInfoFromSource()
   at DCSFlightpanels.PanelUserControls.UserControlStreamDeckUIBase.UIShowLayer(String layerName)

Not Running

I have been using Flightpanels for a long time, suddenly it refuses to start, it will appear momentarily in the hidden icons tray but I cannot get it to run, deleted and redownloaded numerous times, allowed firewall exceptions etc all with no joy.

Name of actions not saved

When creating an action and leaving the name field empty, DCSFP will by default name the action DCS-BIOS (assuming you chose DCS-BIOS for the action). But if you are trying to name the action, the name will not be saved and the action will still be named DCS-BIOS.

FLAPS_LEVER_DOWN textbox not found

I have similar issue as #26 It started when I added FlapsDown (FLAPS=0)
I have: DCSFP 2.8.11 and BIOS 0.7.19

05.01.2019 07:03:55  version : 1.0.119.4471
993013 Custom message = []
System.Exception
Failed to find TextBox MultiPanel knob FLAPS_LEVER_DOWN
   at DCSFlightpanels.MultiPanelUserControl.GetTextBox(MultiPanelPZ70Knobs knob, Boolean whenTurnedOn)
   at DCSFlightpanels.MultiPanelUserControl.ShowGraphicConfiguration()
05.01.2019 07:04:37  version : 1.0.119.4471
993013 Custom message = []
System.Exception
Failed to find TextBox MultiPanel knob FLAPS_LEVER_DOWN
   at DCSFlightpanels.MultiPanelUserControl.GetTextBox(MultiPanelPZ70Knobs knob, Boolean whenTurnedOn)
   at DCSFlightpanels.MultiPanelUserControl.ShowGraphicConfiguration()
05.01.2019 07:04:37  version : 1.0.119.4471
993013 Custom message = []
System.Exception
Failed to find TextBox MultiPanel knob FLAPS_LEVER_DOWN
   at DCSFlightpanels.MultiPanelUserControl.GetTextBox(MultiPanelPZ70Knobs knob, Boolean whenTurnedOn)
   at DCSFlightpanels.MultiPanelUserControl.ShowGraphicConfiguration()

and this is profile:

PanelType=PZ55SwitchPanel
PanelInstanceID=\\?\hid#vid_06a3&pid_0d67#8&381ea06f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
PanelSettingsVersion=0X
BeginPanel
	SwitchPanelDCSBIOSControl{1SWITCHKEY_LIGHTS_NAV|NavOn}\o/\o/DCSBIOSInput{NAV_LIGHTS|SET_STATE|1|0}
	SwitchPanelDCSBIOSControl{0SWITCHKEY_LIGHTS_NAV|NavOff}\o/\o/DCSBIOSInput{NAV_LIGHTS|SET_STATE|0|0}
	SwitchPanelDCSBIOSControl{1SWITCHKEY_DE_ICE|DeIceOn}\o/\o/DCSBIOSInput{DEICER|SET_STATE|1|0}
	SwitchPanelDCSBIOSControl{0SWITCHKEY_DE_ICE|DeIceOff}\o/\o/DCSBIOSInput{DEICER|SET_STATE|0|0}
	ManualLandingGearLEDs{False}
EndPanel

PanelType=PZ70MultiPanel
PanelInstanceID=\\?\hid#vid_06a3&pid_0d06#8&3004aa58&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
PanelSettingsVersion=2X
BeginPanel
	MultiPanelDCSBIOSControl{ALT}\o/{1FLAPS_LEVER_UP|FlapsUp}\o/\o/DCSBIOSInput{FLAPS|SET_STATE|1|0}
	MultiPanelDCSBIOSControl{ALT}\o/{0FLAPS_LEVER_DOWN|DCS-BIOS}\o/\o/DCSBIOSInput{FLAPS|SET_STATE|0|0}
EndPanel

BUG: editing streamdeck dcs-bios button action causes error

02.05.2020 10:44:27  version : 1.0.218.6063

System.NullReferenceException
Object reference not set to an instance of an object.
   at DCSFlightpanels.Windows.DCSBiosInputWindow.ComboBoxInterfaceType_OnSelectionChanged(Object sender, SelectionChangedEventArgs e)

One more check for DCS-BIOS

Hmmm... I was thinking it its good idea during checking new version of flight panel, may be It is possible to check DCS-BIOS as well.
I'm not sure DCS-BIOS can check itself for new release (and even so I can be tricky to let end user know), so maybe FlightPanel could done it.
But as far I know DCB-BIOS does not provide any version marker in its files. So we need some variable or comment in i.e. here: BIOS.lua

What you think?

White squares instead of chosen pictures on streamdecks

When the picture to display is associated to a dcs-bios variable (like a LED value), loading the profile displays white squares instead of the said pictures. The affected buttons are random. Each re initialization of DCS FP (latest 4.0.68) displays white squares on different buttons. Sometimes the pictures shows back up when the variable is initialized by DCS. Sometimes it always stays white.
Using Ka-50 profile
Pics are .png
I have SD 15, SD 32XL and SD 6 Mini connected at the same time.
Assigning a fixed pic to a buttons works without a problem. Only dynamic ones are a problem.

20200607_005322
20200607_005014

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.