Billy Barrow 1 жил өмнө
commit
02ba8528c7

+ 157 - 0
Honeycomb-Aeronautical-Alpha-Flight-Controls.xml

@@ -0,0 +1,157 @@
+<?xml version="1.0"?>
+
+<PropertyList>
+  <name type="string">Honeycomb Aeronautical Alpha Flight Controls</name>
+  <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>
+  <button n="21">
+    <desc type="string">Becaon Off</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/beacon</property>
+      <value type="bool">false</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="20">
+    <desc type="string">Becaon On</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/beacon</property>
+      <value type="bool">true</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="23">
+    <desc type="string">Landing Lights Off</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/landing-lights</property>
+      <value type="bool">false</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="22">
+    <desc type="string">Landing Lights On</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/landing-lights</property>
+      <value type="bool">true</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="25">
+    <desc type="string">Taxi Lights Off</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/taxi-light</property>
+      <value type="bool">false</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="26">
+    <desc type="string">Taxi Lights On</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/taxi-light</property>
+      <value type="bool">true</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="27">
+    <desc type="string">Nav Lights Off</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/nav-lights</property>
+      <value type="bool">false</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="26">
+    <desc type="string">Nav Lights On</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/nav-lights</property>
+      <value type="bool">true</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="29">
+    <desc type="string">Strobe Lights Off</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/strobe</property>
+      <value type="bool">false</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="28">
+    <desc type="string">Strobe Lights On</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/lighting/strobe</property>
+      <value type="bool">true</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <axis n="2">
+    <desc type="string">View (horizontal)</desc>
+    <low>
+      <binding>
+        <command type="string">nasal</command>
+        <script type="string">setprop("/sim/current-view/goal-heading-offset-deg", getprop("/sim/current-view/goal-heading-offset-deg") + 1);</script>
+      </binding>
+      <repeatable type="bool">true</repeatable>
+    </low>
+    <high>
+      <binding>
+        <command type="string">nasal</command>
+        <script type="string">setprop("/sim/current-view/goal-heading-offset-deg", getprop("/sim/current-view/goal-heading-offset-deg") - 1);</script>
+      </binding>
+      <repeatable type="bool">true</repeatable>
+    </high>
+  </axis>
+  <axis n="3">
+    <desc type="string">View (vertical)</desc>
+    <low>
+      <binding>
+        <command type="string">nasal</command>
+        <script type="string">setprop("/sim/current-view/goal-pitch-offset-deg", getprop("/sim/current-view/goal-pitch-offset-deg") + 0.5);</script>
+      </binding>
+      <repeatable type="bool">true</repeatable>
+    </low>
+    <high>
+      <binding>
+        <command type="string">nasal</command>
+        <script type="string">setprop("/sim/current-view/goal-pitch-offset-deg", getprop("/sim/current-view/goal-pitch-offset-deg") - 0.5);</script>
+      </binding>
+      <repeatable type="bool">true</repeatable>
+    </high>
+  </axis>
+  <button n="1">
+    <desc type="string">Reset View</desc>
+      <binding>
+        <command type="string">nasal</command>
+        <script type="string">setprop("/sim/current-view/goal-pitch-offset-deg", 0);setprop("/sim/current-view/goal-heading-offset-deg", 0);</script>
+      </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+</PropertyList>

+ 175 - 0
Honeycomb-Aeronautical-Bravo-Throttle-Quadrant.xml

@@ -0,0 +1,175 @@
+<?xml version="1.0"?>
+
+<PropertyList>
+  <name type="string">Honeycomb Aeronautical Bravo Throttle Quadrant</name>
+  <axis>
+    <desc type="string">Throttle Engine 1</desc>
+    <binding>
+      <command type="string">property-scale</command>
+      <property type="string">/controls/engines/engine[1]/throttle</property>
+      <factor type="double">0.5</factor>
+      <offset type="double">1</offset>
+      <power type="double">1</power>
+    </binding>
+  </axis>
+  <axis n="1">
+    <desc type="string">Throttle Engine 0</desc>
+    <binding>
+      <command type="string">property-scale</command>
+      <property type="string">/controls/engines/engine[0]/throttle</property>
+      <factor type="double">0.5</factor>
+      <offset type="double">1</offset>
+      <power type="double">1</power>
+    </binding>
+  </axis>
+    <axis n="5">
+    <desc type="string">Throttle Engine 2</desc>
+    <binding>
+      <command type="string">property-scale</command>
+      <property type="string">/controls/engines/engine[2]/throttle</property>
+      <factor type="double">0.5</factor>
+      <offset type="double">1</offset>
+      <power type="double">1</power>
+    </binding>
+  </axis>
+  <axis n="4">
+    <desc type="string">Throttle Engine 3</desc>
+    <binding>
+      <command type="string">property-scale</command>
+      <property type="string">/controls/engines/engine[3]/throttle</property>
+      <factor type="double">0.5</factor>
+      <offset type="double">1</offset>
+      <power type="double">1</power>
+    </binding>
+  </axis>
+  <button n="28">
+    <desc type="string">Engine 0 Reverser</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">controls/engines/engine[0]/reverser</property>
+      <value type="bool">true</value>
+    </binding>
+    <mod-up>
+      <binding>
+        <command type="string">property-assign</command>
+        <property type="string">controls/engines/engine[0]/reverser</property>
+        <value type="bool">false</value>
+      </binding>
+    </mod-up>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="8">
+    <desc type="string">Engine 1 Reverser</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">controls/engines/engine[1]/reverser</property>
+      <value type="bool">true</value>
+    </binding>
+    <mod-up>
+      <binding>
+        <command type="string">property-assign</command>
+        <property type="string">controls/engines/engine[1]/reverser</property>
+        <value type="bool">false</value>
+      </binding>
+    </mod-up>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="9">
+    <desc type="string">Engine 2 Reverser</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">controls/engines/engine[2]/reverser</property>
+      <value type="bool">true</value>
+    </binding>
+    <mod-up>
+      <binding>
+        <command type="string">property-assign</command>
+        <property type="string">controls/engines/engine[2]/reverser</property>
+        <value type="bool">false</value>
+      </binding>
+    </mod-up>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="10">
+    <desc type="string">Engine 3 Reverser</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">controls/engines/engine[3]/reverser</property>
+      <value type="bool">true</value>
+    </binding>
+    <mod-up>
+      <binding>
+        <command type="string">property-assign</command>
+        <property type="string">controls/engines/engine[3]/reverser</property>
+        <value type="bool">false</value>
+      </binding>
+    </mod-up>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="30">
+    <desc type="string">Gear Up</desc>
+    <binding>
+      <command type="string">nasal</command>
+      <script type="string">controls.gearDown(-1);</script>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="31">
+    <desc type="string">Gear Down</desc>
+    <binding>
+      <command type="string">nasal</command>
+      <script type="string">controls.gearDown(1);</script>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="14">
+    <desc type="string">Flaps Down</desc>
+    <binding>
+      <command type="string">nasal</command>
+      <script type="string">controls.flapsDown(1);</script>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="15">
+    <desc type="string">Flaps Up</desc>
+    <binding>
+      <command type="string">nasal</command>
+      <script type="string">controls.flapsDown(-1);</script>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="21">
+    <desc type="string">Elevator Trim Down</desc>
+    <binding>
+      <command type="string">nasal</command>
+      <script type="string">controls.elevatorTrim(1);</script>
+    </binding>
+    <repeatable type="double">1</repeatable>
+  </button>
+  <button n="22">
+    <desc type="string">Elevator Trim Up</desc>
+    <binding>
+      <command type="string">nasal</command>
+      <script type="string">controls.elevatorTrim(-1);</script>
+    </binding>
+    <repeatable type="double">1</repeatable>
+  </button>
+  <button n="34">
+    <desc type="string">Wipers Off</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/anti-ice/wiper</property>
+      <value type="bool">false</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+  <button n="33">
+    <desc type="string">Wipers On</desc>
+    <binding>
+      <command type="string">property-assign</command>
+      <property type="string">/controls/anti-ice/wiper</property>
+      <value type="bool">true</value>
+    </binding>
+    <repeatable type="double">0</repeatable>
+  </button>
+</PropertyList>

+ 35 - 0
Saitek-Saitek-Pro-Flight-Rudder-Pedals.xml

@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+
+<PropertyList>
+  <name type="string">Saitek Saitek Pro Flight Rudder Pedals</name>
+  <axis>
+    <desc type="string">Brake Left</desc>
+    <binding>
+      <command type="string">property-scale</command>
+      <property type="string">/controls/gear/brake-left</property>
+      <factor type="double">0.5</factor>
+      <offset type="double">1</offset>
+      <power type="double">1</power>
+    </binding>
+  </axis>
+  <axis n="1">
+    <desc type="string">Brake Right</desc>
+    <binding>
+      <command type="string">property-scale</command>
+      <property type="string">/controls/gear/brake-right</property>
+      <factor type="double">0.5</factor>
+      <offset type="double">1</offset>
+      <power type="double">1</power>
+    </binding>
+  </axis>
+  <axis n="2">
+    <desc type="string">Rudder</desc>
+    <binding>
+      <command type="string">property-scale</command>
+      <property type="string">/controls/flight/rudder</property>
+      <factor type="double">1</factor>
+      <offset type="double">0</offset>
+      <power type="double">2</power>
+    </binding>
+  </axis>
+</PropertyList>