Kercheiz Posted November 17, 2020 Share Posted November 17, 2020 Hi, In the Mirage 2000 module, a lot of binds are missing, such as (not restricted to) most increase/decrease for volume, channels, cockpit lighting, etc... Looking at the clickabledata.lua code did not help, it provided the device id for the corresponding knobs, but with these you can only create binds assigning a fixed value, for instance with a volume knob you would have to create individual binds for setting the value 0, 0.05, 0.1, 0.15, 0.20 etc... not very usable. I was looking for increase/decrease binds that I may assign to an encoder. Some of these are in the module file "command_defs.lua", but here you find only the module specific iCommands, while most are defined globally for dcs. I have found a list of 1876 iCommands in "input.dll" and extracted it, you can find it attached to this post. For instance, you find commands : iCommandPlaneUHFVolumeDec, iCommandPlaneUHFVolumeInc, iCommandPlane_VHF_FM_Volume_Dec, iCommandPlane_VHF_FM_Volume_Inc Hope this helps!iCommands.txt Link to comment Share on other sites More sharing options...
LeCuvier Posted November 17, 2020 Share Posted November 17, 2020 Very interesting and useful find indeed! I could see the "iCommands..." using FileViewer Plus, but they are displayed in a format that doesn't lend itself for extracting the commands. How did you extract them? Maybe you wrote some code that parses the file looking for strings starting with "iCoomand"? I guess that would be my tack. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5 Link to comment Share on other sites More sharing options...
Kercheiz Posted November 25, 2020 Author Share Posted November 25, 2020 Yes, I'm a c++ developper so I have the bad habit of solving every problem with some c++ code, even where some scripting such as python would be much less stupid :) Link to comment Share on other sites More sharing options...
Sérvalpilot Posted March 11, 2021 Share Posted March 11, 2021 Good stuff, thanks for sharing! Link to comment Share on other sites More sharing options...
Recommended Posts