I'm having trouble getting my USB CH yoke working and I'm not sure which
joystick.xml file is being used.  Correct me please but I thought the
Joysticks.xml file needs to include a reference to the actual joystick
file to use, in this case that woud be pro-yoke-usb.xml.  If I have that
right then any changes I make to that file should be used by the program
right?

The joysticks file is thus:

<?xml version="1.0"?>
<!--
    To override or add "named" joystick drivers list them in
    <js-named> entries with paths relative to the directory where
    the joysticks.xml file resides (first example). Such "named"
    drivers are only picked up if one of their <name>s matches
    the joystick hardware (see output of the js_demo application).
    These drivers have precedence over already existing drivers
    with the same <name>. (You can also add a <name>default</name>
    entry to the driver to make it the default choice.)

    The second example shows how to load a driver directly to
    position 0. This will then be used for the first joystick on
    your system and FlightGear will not overwrite it.
-->

<PropertyList>
<!--
    <js-named include="Input/Joysticks/Local/X45-modified.xml"/>

    <js n="0" include="Input/Joysticks/Local/joystick_0.xml"/>
-->
    <js-named include="Input/Joysticks/CH/pro-yoke-usb.xml"/>

<!--
    <js-named/> dummy to keep SimGear happy
            -->
</PropertyList>

If thats all OK it should work right but its not.  Me thinks me has this
wrong but I can't figure what is wrong!

I tried using fgjs but it never creates a complete file for some reason
all I got in js0.xml was:

<?xml version="1.0" ?>

<PropertyList>

 <name>CH PRODUCTS CH FLIGHT SIM YOKE USB </name>

Then I looked for fgfsrc files and they don't exist either.  Any ideas
anyone?

Craig




-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to