Munkwolf / dcs-community-keybinds

A collection of keybinds for DCS.
91 stars 26 forks source link

MiG-15 Gun Safety Cover 2-way switch is just a toggle #61

Open danw-eth opened 1 year ago

danw-eth commented 1 year ago

Been trying to get a 2-way switch working on the MiG-15 for the gun trigger safety switch. Because if you have the stick hidden there is no way to see what the status of the safety switch is unless you have it on a real 2-way bind.

However when I bind it to a 2-way, it can get out of sync with the switch because it really works as a toggle.

Looking at the clickabledata file it says it's a 2 position elements["pnt_196"] = default_2_position_tumb(_("Guns Safety Cover, OPEN/CLOSE"),devices.WEAPON_SYSTEM, device_commands.Button_10, 196) -- Cover

However the line added in community keybinds doesn't seem to be 2 position, I tried changing the up status to 0 but it didn't seem to help.

Any ideas from the clickabledata line on how to make this work? I'd really like to hide the control stick again...

Thanks!