Jump to content

Recommended Posts

Posted

Hi all.

Just wondering if anyone can help with an Arduino/DCS-BIOS command for the AH64 throttle to idle?

I've had the same hardware running through a Leo Bodnar and manually assigned a joystick button in DCS with no issues.

But when trying to get the same button assigned in DCS-BIOS the throttle to idle switches are not working.

I've tried several approaches with no luck.

Both of the below sketches send a 0 and 1 (depending on state) in the com window, but the game ignores the command. Am I using the correct string name? as there's no mention of it in the command reference document that I can find.

It's running on a ATmega 2560

Anyone any ideas?

Cheers

Cheezy

const byte pltEngRIdlePins[2] = {43, 42};
DcsBios::SwitchMultiPos pltEngRIdle("PLT_ENG_R_IDLE", pltEngRIdlePins, 2);
const byte pltEngLIdlePins[2] = {45, 44};
DcsBios::SwitchMultiPos pltEngLIdle("PLT_ENG_L_IDLE", pltEngLIdlePins, 2);
 
And
 
DcsBios::Switch2Pos pltEngLIdle("PLT_ENG_L_IDLE", 45);
DcsBios::Switch2Pos pltEngRIdle("PLT_ENG_R_IDLE", 42);
Posted

If you had it working in a "game controller", why do you want to switch it to DCS-BIOS?

I may have an old version of the control ref, but I can't find "PLT_ENG_R_IDLE" in it.

  • Recently Browsing   0 members

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