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=227814
for the discussion.
Tested on DCS 22.214.171.124729, may not work on later version.
1) Which files to patch?
The file to replace is <DCS>\Mods\aircraft\AJS37\Cockpit\clickabledata.lua, where <DCS> is your installation directory.
2) How to patch DCS?
First, check that the patch is compatible with your current version. To do that, compare the file above in your current DCS version with the original unpatched file downloaded here:
- clickabledata.org.lua (downloaded here) with your clickabledata.lua (in DCS\Mods\aircraft\AJS37\Cockpit\)
If both files match, then you can replace your file with the one downloaded here (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. 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 patch is removed, you have to re-do the procedure: check that the new version is still compatible and replace the file.