andhog Posted February 25, 2020 Posted February 25, 2020 Hello! I bought the shark the other day and are using DCS-BIOS for some buttons I've mounted on the base of my X45 throttle. I noticed that the targeting mode reset button doesn't work. It's being pressed in the cockpit but the button LED doesn't light up and nothing happens. O googled it and found an old and closed bug report on github that mentioned something about DCS not exporting this correctly (https://github.com/dcs-bios/dcs-bios/issues/96). This was written in December 2019 and since it obviously still doesn't work I thought I should write about it here. Hope you guys can fix this.
recluse_goose Posted September 6, 2020 Posted September 6, 2020 (edited) I'm aware this was a few months ago, but I was having the same issue and I managed to figure out a workaround... In %userprofile%/Saved Games/Scripts/DCS-Bios/lib/Ka-50.lua, you should change the WEAPONS_TARGET_RESET_BTN definition from defineLedPushButton to defineElectricallyHeldSwitch. First you need to include a definition of the defineElectricallyHeldSwitch near the top of the .lua file Quote local defineElectricallyHeldSwitch = BIOS.util.defineElectricallyHeldSwitch then change the definition type in the targeting mode control panel section Quote --defineLedPushButton("WEAPONS_TARGET_RESET_BTN", 12, 3016, 441, "Targeting Mode Control Panel", "Targeting mode reset button") defineElectricallyHeldSwitch("WEAPONS_TARGET_RESET_BTN", 12, 3016, 441, "Targeting Mode Control Panel", "Targeting mode reset button") Edit: Just found out that this was fixed in January in the DCSFlightpanels version of dcs-bios: https://github.com/DCSFlightpanels/dcs-bios/commit/356f4e88d7a2f9b819233400a18bdc6a9b34147c Edited October 1, 2021 by recluse_goose
Recommended Posts