Check this out:
https://community.infiniteflight.com/joystick-support-in-infinite-flight/13715?u=8smartflying