I was looking for a working "MIDI-to-virtual keys" application working in DCS but I couldn't find one so using knowledge of other people (samples of Python code scattered around) I made a simple tool to generate virtual keys.
It was tested with X-Touch Mini but should work with any MIDI device (if configured properly) and it should be able to generate keys for any game, not only DCS.
1. make sure your X-Touch-Mini is configured same way as presented on screenshots
2. launch DCS and import key profiles (for NS430 for example)
3. launch one of *.bat files (NS430 or Hind sample profile)
4. with profiles imported, X-Touch-Mini generating keystrokes understood by NS430 or Hind module it should be able to use knobs and buttons
This tool is not for faint of heart. USE AT YOUR OWN RISK
Source code: https://github.com/elewarr/midi2keystroke