I recently purchased a Saitek X52 Pro Joystick+Throttle combo and am looking for ways to display the different parts of the game data such as Escort list, target info, etc. on the MFD. The way I see it, there are two ways of going about it:
1. Modify FSO to transmit the necessary data to the X52 using DirectOutput
2. Get access to the in-game variables through some means, then use an external program to write to the MFD.
I believe #2 is the better choice, as it leaves options for using the data in different controllers (and different environments, like Linux). Now, is there currently any way that in-game data can be exported to an external process, or does this require extensive modification to the existing code base?

Secondly, is there a way to make the external process pass commands that are accepted by FSO? I am currently thinking that the process should generate the appropriate keyboard events, but I'm not sure if that will work.