Use joystick to move the camera

Hi, i have installed a SITL simulator on Linux with FilghtGear following the guide and it works.

Now, i had an idea to move the camera, like a gimbal, while i’m fliyng. What i can do?

For example, with a stick of the joystick, i want to zoom in/out or move up/down/left/right with the camera on flightgear.

It’s possible? I have to intercept from MavProxy the channel of that stick and then use the telnet command of flightgear to move the camera? There is a simpler way?

Thank you