Hi Mike,

 Got it all solved, took awhile to get exact values needed. Thought I'd
post them, just in case...

<axis n="0">
<desc>Aileron</desc>
<binding>
<command>property-scale</command>
<property>/controls/aileron</property>
<offset type="double">0.01</offset>
<factor type="double">10.5</factor>
<squared type="bool">true</squared>
</binding>
</axis>

<axis n="1">
<desc>Elevator</desc>
<binding>
<command>property-scale</command>
<property>/controls/elevator</property>
<offset type="double">0.022</offset>
<factor type="double">-10.5</factor>
<squared type="bool">true</squared>
</binding>
</axis>

<axis n="2">
<desc>Rudder</desc>
<binding>
<command>property-scale</command>
<property>/controls/rudder</property>
<offset type="double">0.1</offset>
<factor type="double">1.0</factor>
</binding>
</axis>

<axis n="3">
<desc>Throttle</desc>
<binding>
<command>property-scale</command>
<property>/controls/throttle[0]</property>
<offset type="double">-0.4444</offset>
<factor type="double">-1.0</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/throttle[1]</property>
<offset type="double">-0.5</offset>
<factor type="double">-0.5</factor>
</binding>
</axis>

Wasn't bad, just time consuming, had to do a lot of experimenting. I
might backup this file :).

Matt
PS file is
/usr/local/lib/FlightGear/Input/Joysticks/Saitek/Cyborg-Gold-3d-USB.xml
PPS Thanks so much for the Flight Sim! 
On Fri, 2003-01-03 at 21:38, Mike Bonar wrote:
> Matthew, when you run js_demo, do you see axis 1 go from 1 to -1 when you test 
> the elevator axis?  Also, when you run 'jstest /dev/js0' do you see axis 1 go 
> from 32767 to -32676 (or some such range) when you test the elevator axis?
> 
> Mike
> 
> On Friday 03 January 2003 21:41, Matthew Johnson wrote:
> > Relevant section from the xml file that came with the CVS :).
> > 
> > vi Cyborg-Gold-3d-USB.xml
> > 
> > <axis n="1">
> > <desc>Elevator</desc>
> > <binding>
> > <command>property-scale</command>
> > <property>/controls/elevator</property>
> > <factor type="double">-1.0</factor>
> > <squared type="bool">true</squared>
> > </binding>
> > </axis>
> > 
> > If I take out the negative sign it reverses the axis. Any ideas on
> > fixing this so I can pull back on the stick and launch into wonderful
> > world of FlightGear?
> > 
> > -- 
> > Matthew Johnson <[EMAIL PROTECTED]>
> 
> 
> _______________________________________________
> Flightgear-users mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-users
-- 
Matthew Johnson

Public Key

9560 AE15 A443 7FE5 E927  84D2 CD17 CF25 405C B240



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

Reply via email to