step 1: jail break it.
step 2: install some kind of linux or rtos.
step 3: hack the living **** out of it.
the touchscreen is probibly powered by some kind of arm based microcontroller. thing is you need to be able to run arbitrary code on that mcu, while retaining the functionality of the whole system.
id actually go about gutting it and trying to get the screen to work with a raspberry pi. you are going to need some analog to digital converters for the joystick. i did a 2 channel i2c joystick with an attiny85 and even wrote a linux driver for the pi. easy peasy. lots of buttons there. looks like 20 or so on the joystick handle alone. another 13 on the throttle (that thumb button is probibly a shift key) so thats 33 gpios. the pi has about 17. thats ok we can matrix them. 6x6 matrix gives us 36 buttons on 12 pins, debounce in software.
probibly also need a buttload of ios to work with the screen. alternatively find an adapter to go from whatever the screen uses to hdmi. alternatively find an hdmi touchscreen monitor of the same dimensions and try to cram it into the case.
cool part, it doesn't even need to plug into the computer. just stick it on your lan. all pis come with ethernet and newer ones have wifi built in. all you need is power. you will need to write some code, install vJoy and learn its api. i think every major scripting language supports it, i got it working in lua using alien, python support comes out of the box i think, c++ also works. you can feed the vJoy driver commands from said script to pass the button presses to dinput, which mwo can use.
you also need to know how to netcode. the pi is going to connect to a pc side server application, likely just a script running as a service. this will allow the stick to pass commands to the computer. the computer can also send rendering commands and graphics to the pi side code (you have to write that too) likely just a linux application that can render stuff to the screen with opengles.
now the hard part, you need to convince pgi to make the game support your haxxored controller. i suppose you could snoop the incoming packets from pgi and gain the information neccisary to render a radar that looks kind of like the one in the game. mind you this is the same method that cheat software uses, so if you get banned its not my fault.
Edited by LordNothing, 29 May 2017 - 01:52 AM.