In the Unreal editor, when you hold down the RMB, you can use the mouse to rotate the camera and WASDQE to move around in 3D space. When you let go of the RMB you effectively deactivate Flight mode.
Can one set up something similar in blender? I have a gaming mouse with extra buttons so it would be handy to have a "activate on press" and "deactivate on release" for say the 4th mouse button in blender.
I find "Fly Mode" indispensable in other software but I find the activation and deactivation in blender to be really clumsy.
Is it possible to customize it the way that I'd want?