This issue happened a long time ago with Ubuntu 22.04 and Xplane11. The symptoms are that XPlane 12 sees the yoke controller, but not the rudder controller.
Within Xplane12 there's the calibaration...