Simple replacement for the clickabledata.lua file, which fixes the wrong right/left mouse click behaviour of some of the knobs and switches in the cockpit (see the DCS standard in the image of this mod).
See thread https://forums.eagle.ru/showthread.php?t=196690
for the discussion.
Tested on DCS 188.8.131.52729, may not work on later version.
1) Which files to patch?
The two files are in <DCS>\Mods\aircraft\AV8BNA\Cockpit\, where <DCS> is your installation directory. Those files are:
2) How to patch DCS?
First, check that the patch is compatible with your current version. To do that, compare the two files above in your current DCS version with the original unpatched files downloaded here, respectively:
- clickable_defs.org.lua (downloaded here) with your clickable_defs.lua (in DCS\Mods\aircraft\AV8BNA\Cockpit\)
- clickabledata.org.lua (downloaded here) with your clickabledata.lua (in DCS\Mods\aircraft\AV8BNA\Cockpit\)
If both files match yours, then you can replace your files with those downloaded here (clickable_defs.lua and clickabledata.lua).
3) If something goes wrong
It's best to keep a backup of your original files. If you don't have them, you can either replace clickabledata.lua with clickabledata.org.lua and clickable_defs.lua with clickable_defs.org.lua. Or you can revert the modification by doing a repair (check the site https://forums.eagle.ru/showthread.php?t=114030
4) What happens if I update DCS?
The patches are removed, you have to re-do the procedure: check that the new version is still compatible and replace the files.