Alexander Kappes writes:

 > a question I forgot in my last mail. Does anybody of you know how to
 > control the view direction (in the 3D cockpit) with the coolie hat on a
 > FlighSimYoke? First, I have the problem that the hat direction is coded
 > with two digital axis and they are not uncorrelated. What I have achieved
 > so far is to control the horizontal movement but for the vertical one I
 > even don't find the correct property name. Is there somewhere a complete
 > list of the properties that can be controled in the joystick.xml?

You can control any property with the joystick, but to control the
view direction, use something like this:

 <axis n="4">
  <binding>
   <command>property-scale</command>
   <property>/sim/view/axes/lat</property>
  </binding>
 </axis>

 <axis n="5">
  <binding>
   <command>property-scale</command>
   <property>/sim/view/axes/long</property>
  </binding>
 </axis>


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to