Jump to content

Recommended Posts

Posted
On 1/2/2023 at 4:12 PM, hy-fye1 said:

Hi everyone,

 

is there a list of sendDcsBiosMessage-commands for the F-16?

Thanks in forward

It's in the normal control reference document.
e.g.  The command ref says this:

DcsBios::Switch2Pos masterCaution("MASTER_CAUTION", PIN);

The bit in red is the command for sendDcsBiosMessage, so the arduino code to set the switch to on in DCS is:

sendDcsBiosMessage("MASTER_CAUTION", "1");

Change the "1" to "0" to turn it off.  Change the "1" to "2" if it's the third of a 3-position switch and so on.
IIRC, "TOGGLE", "INC" and "DEC" also work, as well as the custom increment and decrement. e.g. "-3200" and "+3200".

The "advanced" view in the control reference tells you what values DCS expects.
Note that if you are generating the number for sendDcsBiosMessage in your code (e.g. for an analogue control), it has to be sent as a string, not an integer.

  • Recently Browsing   0 members

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