Jump to content

Recommended Posts

Posted (edited)

I am attempting, unsuccessfully so far, to control the A-10C VHF AM and FM preset channel rotaries in DCSW 1.5.2 with TM MFD joy rocker switches. Strange, because I can assign other switches, like master arm switch, to the MFD rockers with no problem. I can also assign a keyboard key to the channel increase/decrease commands and it works fine. These are the 2 assignment code lines I have tried in the MFD .lua files and neither work:

 

{combos = {{key = 'JOY_BTN21'}}, down = 3017, cockpit_device_id = 55, value_down = -1.0, name = 'VHF AM Preset Channel Decrease', category = 'VHF AM Radio Control Panel'},

and

 

{combos = {{key = 'JOY_BTN21'}}, down = iCommandPlane_VHF_AM_Preset_Dec, up = iCommandPlane_VHF_AM_Preset_Dec_off, name = 'VHF AM Preset Channel Decrease', category = 'VHF AM Radio Control Panel'},

Any ideas for making this work?

Edited by Habu_69
Posted

Never mind. Turns out the reason the joy button would not activate the rotary was because a keyboard key was ALSO assigned. Cleared the key assignment and all works properly. By the way the first code line is the correct one.

  • Recently Browsing   0 members

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