Cloning the PTFS in-flight camera?

Hey everyone!
I’m currently working on a plane system and at the step now where I’m refining things such as the camera. The camera type I’m currently using is Enum.CameraType.Attach, but this leads to a stuck feeling when flying. The camera type in Pilot Training Flight Simulator (PTFS) seems like a perfect example for a good camera system. The camera there is a mix of Attach (when not having the right mouse button down) and Custom (when rotating the camera with RMB). Is there an easy way to achieve this or would I have to create a completely custom camera system?

You can fork the camera module. There is probably an if statement which enable and disables the mode.

Similar project: