This modification of the -set.xml works for me, and I think it could be generic enough to set for any Joystick (not specific of the X52 or mine)
Want to try it out?
Code: Select all
<input include="keyboard-T4T.xml">
<joysticks>
<js>
<axis>
<desc type="string">Aileron</desc>
<binding>
<command type="string">property-scale</command>
<property type="string">/controls/flight/aileron</property>
<factor type="double">1</factor>
<offset type="double">0</offset>
<power type="double">1</power>
</binding>
</axis>
<axis n="1">
<desc type="string">Elevator</desc>
<binding>
<command type="string">property-scale</command>
<property type="string">/controls/flight/elevator</property>
<factor type="double">-1</factor>
<offset type="double">0</offset>
<power type="double">1</power>
</binding>
</axis>
<axis n="2">
<desc>Throttle</desc>
<binding>
<command>property-scale</command>
<property>fdm/jsbsim/fcs/thrust-cmd</property>
</binding>
</axis>
</js>
</joysticks>
</input>