Browse Source

input / logitech x3d: map stick rotation to horizontal view axis

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

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

@@ -20,6 +20,15 @@
       <offset type="double">0</offset>
     </binding>
   </axis>
+  <axis n="2">
+    <desc type="string">View Horizontal Axis</desc>
+    <binding>
+      <command type="string">property-scale</command>
+      <property type="string">/sim/current-view/goal-heading-offset-deg</property>
+      <factor type="double">-180</factor>
+      <offset type="double">0</offset>
+    </binding>
+  </axis>
   <axis n="3">
     <desc type="string">Throttle (all)</desc>
     <binding>