Update the four axis joystick to the new controlls layout and fix a mistake in the X8-30 configuration file
This commit is contained in:
parent
9048df30c6
commit
d47f83ebc9
2 changed files with 54 additions and 18 deletions
|
@ -17,8 +17,8 @@ joystick, and that the first button is the trigger.
|
||||||
<desc>Aileron</desc>
|
<desc>Aileron</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/aileron</property>
|
<property>/controls/flight/aileron</property>
|
||||||
<squared type="bool">true</squared>
|
<power type="double">2</power>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
|
@ -26,9 +26,9 @@ joystick, and that the first button is the trigger.
|
||||||
<desc>Elevator</desc>
|
<desc>Elevator</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/elevator</property>
|
<property>/controls/flight/elevator</property>
|
||||||
<factor type="double">-1.0</factor>
|
<factor type="double">-1.0</factor>
|
||||||
<squared type="bool">true</squared>
|
<power type="double">2</power>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
|
@ -36,13 +36,49 @@ joystick, and that the first button is the trigger.
|
||||||
<desc>Throttle</desc>
|
<desc>Throttle</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/throttle[0]</property>
|
<property>/controls/engines/engine[0]/throttle</property>
|
||||||
<offset type="double">-1.0</offset>
|
<offset type="double">-1.0</offset>
|
||||||
<factor type="double">-0.5</factor>
|
<factor type="double">-0.5</factor>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/throttle[1]</property>
|
<property>/controls/engines/engine[1]/throttle</property>
|
||||||
|
<offset type="double">-1.0</offset>
|
||||||
|
<factor type="double">-0.5</factor>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-scale</command>
|
||||||
|
<property>/controls/engines/engine[2]/throttle</property>
|
||||||
|
<offset type="double">-1.0</offset>
|
||||||
|
<factor type="double">-0.5</factor>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-scale</command>
|
||||||
|
<property>/controls/engines/engine[3]/throttle</property>
|
||||||
|
<offset type="double">-1.0</offset>
|
||||||
|
<factor type="double">-0.5</factor>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-scale</command>
|
||||||
|
<property>/controls/engines/engine[4]/throttle</property>
|
||||||
|
<offset type="double">-1.0</offset>
|
||||||
|
<factor type="double">-0.5</factor>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-scale</command>
|
||||||
|
<property>/controls/engines/engine[5]/throttle</property>
|
||||||
|
<offset type="double">-1.0</offset>
|
||||||
|
<factor type="double">-0.5</factor>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-scale</command>
|
||||||
|
<property>/controls/engines/engine[6]/throttle</property>
|
||||||
|
<offset type="double">-1.0</offset>
|
||||||
|
<factor type="double">-0.5</factor>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-scale</command>
|
||||||
|
<property>/controls/engines/engine[7]/throttle</property>
|
||||||
<offset type="double">-1.0</offset>
|
<offset type="double">-1.0</offset>
|
||||||
<factor type="double">-0.5</factor>
|
<factor type="double">-0.5</factor>
|
||||||
</binding>
|
</binding>
|
||||||
|
@ -51,8 +87,8 @@ joystick, and that the first button is the trigger.
|
||||||
<axis n="3">
|
<axis n="3">
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/rudder</property>
|
<property>/controls/flight/rudder</property>
|
||||||
<squared>true</squared>
|
<power type="double">2</power>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
|
@ -60,33 +96,33 @@ joystick, and that the first button is the trigger.
|
||||||
<desc>Brakes</desc>
|
<desc>Brakes</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/brakes[0]</property>
|
<property>/controls/gear/wheel[0]/brake</property>
|
||||||
<value type="double">1.0</value>
|
<value type="double">1.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/brakes[1]</property>
|
<property>/controls/gear/wheel[1]/brake</property>
|
||||||
<value type="double">1.0</value>
|
<value type="double">1.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/brakes[2]</property>
|
<property>/controls/gear/wheel[2]/brake</property>
|
||||||
<value type="double">1.0</value>
|
<value type="double">1.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<mod-up>
|
<mod-up>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/brakes[0]</property>
|
<property>/controls/gear/wheel[0]/brake</property>
|
||||||
<value type="double">0.0</value>
|
<value type="double">0.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/brakes[1]</property>
|
<property>/controls/gear/wheel[1]/brake</property>
|
||||||
<value type="double">0.0</value>
|
<value type="double">0.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/brakes[2]</property>
|
<property>/controls/gear/wheel[2]/brake</property>
|
||||||
<value type="double">0.0</value>
|
<value type="double">0.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
</mod-up>
|
</mod-up>
|
||||||
|
@ -97,7 +133,7 @@ joystick, and that the first button is the trigger.
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/controls/elevator-trim</property>
|
<property>/controls/flight/elevator-trim</property>
|
||||||
<step type="double">0.001</step>
|
<step type="double">0.001</step>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
@ -107,7 +143,7 @@ joystick, and that the first button is the trigger.
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>/controls/elevator-trim</property>
|
<property>/controls/flight/elevator-trim</property>
|
||||||
<step type="double">-0.001</step>
|
<step type="double">-0.001</step>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -33,7 +33,7 @@ $Id$
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/flight/aileron</property>
|
<property>/controls/flight/aileron</property>
|
||||||
<power type="bool">3</power>
|
<power type="double">3</power>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ $Id$
|
||||||
<command>property-scale</command>
|
<command>property-scale</command>
|
||||||
<property>/controls/flight/elevator</property>
|
<property>/controls/flight/elevator</property>
|
||||||
<factor type="double">-1.0</factor>
|
<factor type="double">-1.0</factor>
|
||||||
<power type="bool">3</power>
|
<power type="double">3</power>
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue