I have started working on what might one day be a JSBSim helicopter model. I
would like to redefine the joystick axes for just this model as following:
 
    axis 0 - lateral-collective, not aileron
    axis 1 - longitudinal-collective, not elevator
    axis 2 - collective, not throttle
 
I don't want to do this redefinition in the \Input\Joysticks\*.xml files for
all the possible joysticks because it would destroy the ability to fly
fixed-wing aircraft, so I'd like to do it locally in the helicopter
configuration. My attempts to slog through this have failed, and a scan of
the archives didn't show anything promising, so I'm asking for a little
help.
 
I've tried something that looks like this in my GenHel-set.xml file:

<input> 
   <axis n="0">
      <desc>Lateral Cyclic</desc>
      <binding>
           <command>property-scale</command>
           <property>/controls/flight/cyclic-lat</property>
           <power type="double">2</power>
      </binding>
   </axis>
 
<!-- ...other inputs removed -->
 
</input>

This doesn't work, and the joystick still changes the aileron value. What am
I doing wrong, and am I actually allowed to do this, or do I have to live
with the definitions that come from the joystick xml files?
 
Thanks,
Bill
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to