Modernise view-direction axes for Logitech
- replace deprecated axes/long,lat with modern goal-offset properties.
This commit is contained in:
parent
611a5ce40d
commit
c3c246c3da
4 changed files with 134 additions and 47 deletions
|
@ -80,31 +80,44 @@
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<!-- The next two axes are the view hat -->
|
<!-- The next two axes are the view hat -->
|
||||||
|
<axis n="4">
|
||||||
<axis>
|
<desc>View Direction</desc>
|
||||||
<desc>Lat-Hat</desc>
|
<low>
|
||||||
<number>
|
<repeatable>true</repeatable>
|
||||||
<unix>4</unix>
|
|
||||||
<mac>4</mac>
|
|
||||||
<windows>6</windows>
|
|
||||||
</number>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-adjust</command>
|
||||||
<property>/sim/current-view/axes/lat</property>
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
||||||
|
<step type="double">5.0</step>
|
||||||
</binding>
|
</binding>
|
||||||
|
</low>
|
||||||
|
<high>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
||||||
|
<step type="double">-5.0</step>
|
||||||
|
</binding>
|
||||||
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<axis>
|
<axis n="5">
|
||||||
<desc>Long-Hat</desc>
|
<desc>View Elevation</desc>
|
||||||
<number>
|
<low>
|
||||||
<unix>5</unix>
|
<repeatable>true</repeatable>
|
||||||
<mac>5</mac>
|
|
||||||
<windows>7</windows>
|
|
||||||
</number>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-adjust</command>
|
||||||
<property>/sim/current-view/axes/long</property>
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||||
|
<step type="double">5.0</step>
|
||||||
</binding>
|
</binding>
|
||||||
|
</low>
|
||||||
|
<high>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||||
|
<step type="double">-5.0</step>
|
||||||
|
</binding>
|
||||||
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<button n="0">
|
<button n="0">
|
||||||
|
|
|
@ -99,23 +99,49 @@ $Id$
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<!-- The next two axes are the view hat -->
|
<!-- The next two axes are the view hat -->
|
||||||
|
|
||||||
<axis n="3">
|
<axis n="3">
|
||||||
<desc>View left/right</desc>
|
<desc>View Direction</desc>
|
||||||
<binding>
|
<low>
|
||||||
<command>property-scale</command>
|
<repeatable>true</repeatable>
|
||||||
<property>/sim/current-view/axes/lat</property>
|
<binding>
|
||||||
</binding>
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
||||||
|
<step type="double">5.0</step>
|
||||||
|
</binding>
|
||||||
|
</low>
|
||||||
|
<high>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
||||||
|
<step type="double">-5.0</step>
|
||||||
|
</binding>
|
||||||
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<axis n="4">
|
<axis n="4">
|
||||||
<desc>View up/down</desc>
|
<desc>View Elevation</desc>
|
||||||
<binding>
|
<low>
|
||||||
<command>property-scale</command>
|
<repeatable>true</repeatable>
|
||||||
<property>/sim/current-view/axes/long</property>
|
<binding>
|
||||||
</binding>
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||||
|
<step type="double">5.0</step>
|
||||||
|
</binding>
|
||||||
|
</low>
|
||||||
|
<high>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||||
|
<step type="double">-5.0</step>
|
||||||
|
</binding>
|
||||||
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button n="0">
|
<button n="0">
|
||||||
<desc>Brakes</desc>
|
<desc>Brakes</desc>
|
||||||
<binding>
|
<binding>
|
||||||
|
|
|
@ -80,20 +80,45 @@ $Id$
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
|
<!-- view direction -->
|
||||||
<axis n="5">
|
<axis n="5">
|
||||||
<desc>View left/right</desc>
|
<desc>View Direction</desc>
|
||||||
<binding>
|
<low>
|
||||||
<command>property-scale</command>
|
<repeatable>true</repeatable>
|
||||||
<property>/sim/current-view/axes/lat</property>
|
<binding>
|
||||||
</binding>
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
||||||
|
<step type="double">5.0</step>
|
||||||
|
</binding>
|
||||||
|
</low>
|
||||||
|
<high>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
||||||
|
<step type="double">-5.0</step>
|
||||||
|
</binding>
|
||||||
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<axis n="6">
|
<axis n="6">
|
||||||
<desc>View up/down</desc>
|
<desc>View Elevation</desc>
|
||||||
<binding>
|
<low>
|
||||||
<command>property-scale</command>
|
<repeatable>true</repeatable>
|
||||||
<property>/sim/current-view/axes/long</property>
|
<binding>
|
||||||
</binding>
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||||
|
<step type="double">5.0</step>
|
||||||
|
</binding>
|
||||||
|
</low>
|
||||||
|
<high>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||||
|
<step type="double">-5.0</step>
|
||||||
|
</binding>
|
||||||
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<button n="0">
|
<button n="0">
|
||||||
|
|
|
@ -72,21 +72,44 @@ $Id$
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<!-- The next two axes are the view hat -->
|
<!-- The next two axes are the view hat -->
|
||||||
|
|
||||||
<axis n="4">
|
<axis n="4">
|
||||||
<desc>View left</desc>
|
<desc>View Direction</desc>
|
||||||
|
<low>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-adjust</command>
|
||||||
<property>/sim/current-view/axes/lat</property>
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
||||||
|
<step type="double">5.0</step>
|
||||||
</binding>
|
</binding>
|
||||||
|
</low>
|
||||||
|
<high>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
||||||
|
<step type="double">-5.0</step>
|
||||||
|
</binding>
|
||||||
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<axis n="5">
|
<axis n="5">
|
||||||
<desc>View right</desc>
|
<desc>View Elevation</desc>
|
||||||
|
<low>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>property-adjust</command>
|
||||||
<property>/sim/current-view/axes/long</property>
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||||
|
<step type="double">5.0</step>
|
||||||
</binding>
|
</binding>
|
||||||
|
</low>
|
||||||
|
<high>
|
||||||
|
<repeatable>true</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||||
|
<step type="double">-5.0</step>
|
||||||
|
</binding>
|
||||||
|
</high>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<button n="3">
|
<button n="3">
|
||||||
|
|
Loading…
Reference in a new issue