Hi,

I had two identical bodnar joystick bu0836: one for the encoders of nav1 
and nav2 and the other for the radio stack.
Here is the xml file for the first joystick


<PropertyList>

  <name>Leo Bodnar BU0836X Interface</name>

  <!--Encoder1A -->
  <button>
   <name>Encoder1A</name>
   <number>
    <unix>0</unix>
    <mac>0</mac>
    <windows>0</windows>
   </number>
   <desc>Encoder1 fase A</desc>
   <repeatable>true</repeatable>
   <binding>
    <command>property-adjust</command>
    <property>/instrumentation/nav/radials/selected-deg</property>
    <step type="double">-1.0</step>
   </binding>
  </button>

  <button>
   <name>Encoder1B</name>
   <number>
    <unix>1</unix>
    <mac>1</mac>
    <windows>1</windows>
   </number>
   <desc>Encoder1 fase B</desc>
   <repeatable>true</repeatable>
   <binding>
    <command>property-adjust</command>
    <property>/instrumentation/nav/radials/selected-deg</property>
    <step type="double">+1.0</step>
   </binding>
  </button>

  </PropertyList>

But how do I distinguish the second joystick? Is there any option to 
enter for example the serial number of the joystick?
Any ideas?

Thanks.

-- 
Nicola Quargentan

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to