On Mon, 2009-11-23 at 02:26 +0100, Nicola Quargentan wrote:

> 
> I found this line on 737-300 (but there are they also in more aircraft):
[snip 2d panel code]

> I Think I can select nav frequencies and rotate OBS with button 0. But I 
> didn't find any use of the axis ( for example, using a joystick ).

Below are Nicola's find translated into joystick compatible terms.
Button 0 will decrease the nav radio standby freq, button 1 increases
the standby freq and button 2 swaps the standby and active frequencies.
I'm not 100% sure the resolution tag is used for joysticks...

 <button n="0">
  <desc>nav frequency decrease</desc>
  <binding>
     <command>property-adjust</command>
     <property "instrumentation/nav[0]/frequencies/standby-mhz"/>
     <step>-0.05</step>
     <min>108.0</min>
     <max>117.95</max>
     <resolution>0.05</resolution>
     <wrap>true</wrap>
  </binding>
 </button>
 
<button n="1">
  <desc>nav frequency increase</desc>
  <binding>
     <command>property-adjust</command>
     <property "instrumentation/nav[0]/frequencies/standby-mhz"/>
     <step>0.05</step>
     <min>108.0</min>
     <max>117.95</max>
     <resolution>0.05</resolution>
     <wrap>true</wrap>
  </binding>
</button>


<button n="2">
  <desc>nav frequency swap</desc>
  <repeatable>false</repeatable>
  <binding>
     <command>property-assign</command>
     <property "instrumentation/nav[0]/frq-swap-btn"/>
     <value type="int">1</value>
  </binding>
  <binding>
     <command>property-swap</command>
     <property "instrumentation/nav[0]/frequencies/selected-mhz"/>
     <property "instrumentation/nav[0]/frequencies/standby-mhz"/>
  </binding>
  <mod-up>
     <binding>
        <command>property-assign</command>
        <property "instrumentation/nav[0]/frq-swap-btn"/>
        <value type="int">0</value>
     </binding>
  </mod-up>
</button> 



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to