Hello turaboy,
the circuit of your "black box" is here. It converts signals from a standard joystick into ppp-frames for the trainer-port of your transmitter. Please take a look at this thread too.
The code for the above circuit (version 2) is running, but it is really "quick & dirty". In the fall or in winter I will set on the project again.
Regards,
Thomas