Browse Source

input / logitech x3d: map buttons 3 & 5 to elevator trim

Fabian Peter Hammerle 3 years ago
parent
commit
9f76092d45
1 changed files with 16 additions and 0 deletions
  1. 16 0
      Input/Joysticks/Logitech-Logitech-Extreme-3D.xml

+ 16 - 0
Input/Joysticks/Logitech-Logitech-Extreme-3D.xml

@@ -27,4 +27,20 @@
       <script type="string">controls.throttleAxis();</script>
     </binding>
   </axis>
+  <button n="3">
+    <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="5">
+    <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>
 </PropertyList>