On Tue, 2008-07-29 at 09:54 -0700, jj wrote:
> I've now tried that with no success, see attached jsx.txt
> 
> jj
> >
> > fgjs makes a file called js0.xml which needs to be copied to
> > $FG_ROOT/Input/Joysticks/  Doing this should override the supplied
> > driver.
> >
> > Assuming you did that correctly and it still doesn't work, attach your
> > js0.xml and send it to the list.
> >
> >   
> 
> plain text document attachment (jsx.txt)
> On my installation of Flightgear:
> 
> C:\FlightGear\bin\win32
> 
> contains the js0 file, shown below
> 
> <?xml version="1.0" ?>
> 
> <PropertyList>
> 
>  <name>Saitek X52 Flight Control System</name>
> 
>  <button n="23">
>   <desc>View Cycle</desc>
>   <repeatable>false</repeatable>
>   <binding>
>    <command>view-cycle</command>
>    <step type="double">1</step>
>   </binding>
>  </button>
> 
>  <button n="23">
>   <desc>Brakes</desc>
>   <binding>
>    <command>property-assign</command>
>    <property>/controls/gear/brake-left</property>
>    <value type="double">1</value>
>   </binding>
>   <binding>
>    <command>property-assign</command>
>    <property>/controls/gear/brake-right</property>
>    <value type="double">1</value>
>   </binding>
>   <mod-up>
>    <binding>
>     <command>property-assign</command>
>     <property>/controls/gear/brake-left</property>
>     <value type="double">0</value>
>    </binding>
>    <binding>
>     <command>property-assign</command>
>     <property>/controls/gear/brake-right</property>
>     <value type="double">0</value>
>    </binding>
>   </mod-up>
>  </button>
> 
>  <button n="23">
>   <desc>Left Brake</desc>
>   <binding>
>    <command>property-assign</command>
>    <property>/controls/gear/brake-left</property>
>    <value type="double">1</value>
>   </binding>
>   <mod-up>
>    <binding>
>     <command>property-assign</command>
>     <property>/controls/gear/brake-left</property>
>     <value type="double">0</value>
>    </binding>
>   </mod-up>
>  </button>
> 
>  <button n="23">
>   <desc>Right Brake</desc>
>   <binding>
>    <command>property-assign</command>
>    <property>/controls/gear/brake-right</property>
>    <value type="double">1</value>
>   </binding>
>   <mod-up>
>    <binding>
>     <command>property-assign</command>
>     <property>/controls/gear/brake-right</property>
>     <value type="double">0</value>
>    </binding>
>   </mod-up>
>  </button>
> 
>  <button n="23">
>   <desc>Flaps Up</desc>
>   <repeatable>false</repeatable>
>   <binding>
>    <command>property-adjust</command>
>    <property>/controls/flight/flaps</property>
>    <step type="double">-0.34</step>
>   </binding>
>  </button>
> 
>  <button n="23">
>   <desc>Flaps Down</desc>
>   <repeatable>false</repeatable>
>   <binding>
>    <command>property-adjust</command>
>    <property>/controls/flight/flaps</property>
>    <step type="double">0.34</step>
>   </binding>
>  </button>
> 
>  <button n="23">
>   <desc>Elevator Trim Forward</desc>
>   <repeatable>true</repeatable>
>   <binding>
>    <command>property-adjust</command>
>    <property>/controls/flight/elevator-trim</property>
>    <step type="double">0.001</step>
>   </binding>
>  </button>
> 
>  <button n="23">
>   <desc>Elevator Trim Backward</desc>
>   <repeatable>true</repeatable>
>   <binding>
>    <command>property-adjust</command>
>    <property>/controls/flight/elevator-trim</property>
>    <step type="double">-0.001</step>
>   </binding>
>  </button>
> 
>  <button n="23">
>   <desc>Landing Gear Up</desc>
>   <repeatable>false</repeatable>
>   <binding>
>    <command>property-assign</command>
>    <property>/controls/gear/gear-down</property>
>    <value type="bool">false</value>
>   </binding>
>  </button>
> 
>  <button n="23">
>   <desc>Landing Gear Down</desc>
>   <repeatable>false</repeatable>
>   <binding>
>    <command>property-assign</command>
>    <property>/controls/gear/gear-down</property>
>    <value type="bool">true</value>
>   </binding>
>  </button>
> 
> </PropertyList>
> 
> <!-- end of joystick.xml -->
> 
> 
> ----------
> 
> 
> Placing the js0 file into either (or both)
> 
> C:\FlightGear\data\Input\Joysticks
> or
> C:\FlightGear\data\Input\Joysticks\Saitek
> 
> Causes the throttle and other previously operating controls to stop working,
> and does not enable the rudder.
> 
> Any thoughts?
> 
> jj


The config file you have is worthless.  All functions are assigned to
button #23, and no axises are defined.

I took the default Saitek X52 file and re-enabled the rudder axis.  Give
it a try.  (use it to replace Input/Joysticks/Saitek/X52.xml )

Ron

Attachment: X52-mod.xml
Description: XML document

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to