Look at FSX Hat Switch movements, and duplicate that for MSFS2020?
Thread closed as it seems to be a duplicate of: Hat switch for camera views.
If you believe this topic has been closed in error, please send a private message to @Nyx1819 and explain how this request is different to the one linked above, and I will be happy to reinstate this thread.