Library for receiving the RC radio PPM signal

The purpose: I have old, but lovely radio made by graupner. Mx12s. Some time ago I updated it with frsky dht module to change it to 2,4ghz , and also added oled screen with telemetry made on Arduino (great project by https://www.google.com/url?sa=t&source=web&rct=j&url=https://github.com/xythobuz/FrSky-Telemetry-Arduino&ved=2ahUKEwjMwJeEtKXiAhWJ_CoKHQMDC3sQFjAAegQIAxAB&usg=AOvVaw1ahAoQUYkF76JBLLt-4vfb)

This radio is 6ch, but 5 and 6 are for flaps and landing gear. There are no potentometers for them. And I would need 5 and 6 made analog , for gimbal movement. So the idea is tho replace 5 and 6 with new signals before they will reach dht module in transmitter.

I am not sure if it is doable. If not maybe finnaly buy a taranis radio...