To better explain what I was talking above, a picture is better than thousand words
Again, this works natively in MSFS, with all sticks, yokes, buttons boxes, etc…
For the encoder, evidently, you should have one.
Edit: Something important I forgot :
when using shifter with a POV (showing POV+arrow instead of a button number)
you need to invert order.
e.g.
not shifter (9) + POV (arrow down)
but POV (arrow down) + shifter (9)
See here:
https://forums.flightsimulator.com/t/joystick-button-combinations-not-working-correctly/384651
Dont ask me why, it’s a MSFS (Microsoft Special F… Surprise).