Browse Source

input: added logitech extreme 3D joystick (aileron, elevator & throttle)

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

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

@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+
+<PropertyList>
+  <name type="string">Logitech Logitech Extreme 3D</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>
+    </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>
+    </binding>
+  </axis>
+  <axis n="3">
+    <desc type="string">Throttle (all)</desc>
+    <binding>
+      <command type="string">nasal</command>
+      <script type="string">controls.throttleAxis();</script>
+    </binding>
+  </axis>
+</PropertyList>