DCS-Skunkworks / DCSFlightpanels

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.
MIT License
157 stars 28 forks source link

StreamDeck Button Image not be displayed correctly #401

Closed XtyeJiang closed 11 months ago

XtyeJiang commented 11 months ago

Thank you for your outstanding work, This makes the world more beautiful and saves my StreamDeck by the way. XD I found that the latest update resolves the "intrger" value issue, which allows StreamDeck to use conditional formatting, but the DCS-BIOS Control Type is not displayed by StreamDeck regardless of whether it is set to "intrger" or "String". Even if the button Image is not set to "DCS-BIOS Recoder" and only "Static Text" is used, the StreamDeck will blink once each time the input is entered (the flashing will show the correct content, but the screen will immediately go black). Image------has been Accept Changes

Screenshot 2023-10-19 000305 Screenshot 2023-10-19 001136

jdahlblom commented 11 months ago

Could you write down a step by step list on how I can reproduce this. Not really clear to me at this point what the actual problem is.

XtyeJiang commented 11 months ago

Could you write down a step by step list on how I can reproduce this. Not really clear to me at this point what the actual problem is.

  1. DCS JF-17 Thunder free flight
  2. File - New - Choose Module - JF-17 Thunder - OK
  3. Select a button
  4. "Button Image" area select DCS-BIOS Decoder
  5. "Button Image" Add/Edit Button
  6. "DCS-BIOS Control Type" Select "String"
  7. "Press space for list" Select any item - OK Screenshot 2023-10-19 195644
  8. Main screen - Accept Changes Screenshot 2023-10-19 195253 Main-Windows button "1" show white block, but StreamDeck have no display content. Screenshot 2023-10-19 195928
jdahlblom commented 11 months ago

OK, thanks. I will look into this asap.

jdahlblom commented 11 months ago

I think you forgot to choose either Rule Formatting or Raw DCS-BIOS value for the button. (and in this case the choice Raw DCS-BIOS value is the only valid one since it isn't an number)

BUG => I noticed that the OK button was enabled even when neither of the two choices were selected. You have to click the blue link below the textbox to insert the keyword {dcsbios}. You type your own text there too either above or below. I have fixed the OK button bug but you can just follow the advice here and you will be fine. I will release this later. Did this help you?

2023-10-20_164042

XtyeJiang commented 11 months ago

It works. Thank you, JDAHLblom. I think I asked a foolish question and I'm sorry for taking up your time. My best regards.

jdahlblom commented 11 months ago

Question was not foolish at all, good luck.