Input device: Difference between revisions

Jump to navigation Jump to search
m
typos, dead links
m (Changed the name of the dialog from "Joystick Information" to "Joystick Configuration" to keep up with current versions of FG)
m (typos, dead links)
Line 63: Line 63:
# Please report this name [http://forum.flightgear.org/viewforum.php?f=24 at our forum], so it can be added to the official file (and next releases).
# Please report this name [http://forum.flightgear.org/viewforum.php?f=24 at our forum], so it can be added to the official file (and next releases).


Please note that the latest config files are always to be found at https://gitorious.org/fg/fgdata/trees/master/Input/Joysticks. This link may contain additional binding files that were not included in the latest stable release.
Please note that the latest config files are always to be found at https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Input/Joysticks. This link may contain additional binding files that were not included in the latest stable release.


If there is no file for your joystick, you will have to create such a file. We will discuss that in [[Joystick#Writing or editing joystick binding xml files|a later section]], by cutting and pasting bindings from the examples that are included with FlightGear.
If there is no file for your joystick, you will have to create such a file. We will discuss that in [[Joystick#Writing or editing joystick binding xml files|a later section]], by cutting and pasting bindings from the examples that are included with FlightGear.
Line 285: Line 285:
mkdir QS  
mkdir QS  
cd QS  
cd QS  
copy /FlightGear/Input/Joysticks/Saitek/  
copy /Program Files/FlightGear/Input/Joysticks/Saitek/  
Cyborg-Gold-3d-USB.xml QuickStick.xml  
Cyborg-Gold-3d-USB.xml QuickStick.xml  
</syntaxhighlight>
</syntaxhighlight>
Line 344: Line 344:
'''fgfsrc.js''' into '''.fgfsrc''' (UNIX)/'''system.fgfsrc''' (Windows)  
'''fgfsrc.js''' into '''.fgfsrc''' (UNIX)/'''system.fgfsrc''' (Windows)  


and place it into the directory FlightGear base directory FlightGear. In case you already wrote an options file, just open it as well as fgfsrc.js with an editor and copy the entries from fgfsrc.js into .fgfsrc/system.fgfsrc. One hint: The output of fgjs is UNIX formatted. As a result, Windows Editor may not display it the proper way. I suggest getting an editor being able to handle UNIX files as well. My favorite freeware file editor for that purpose, although somewhat dated, is still PFE, to be obtained from http://www.lancs.ac.uk/people/cpaap/pfe/.  
and place it into the directory FlightGear base directory FlightGear. In case you already wrote an options file, just open it as well as fgfsrc.js with an editor and copy the entries from fgfsrc.js into .fgfsrc/system.fgfsrc. One hint: The output of fgjs is UNIX formatted. As a result, Windows Editor may not display it the proper way. I suggest getting an editor being able to handle UNIX files as well, for example [https://notepad-plus-plus.org/ Notepad++]. <!-- My favorite freeware file editor for that purpose, although somewhat dated, is still PFE, to be obtained from http://www.lancs.ac.uk/people/cpaap/pfe/. -->


The the axis/button assignment of fgjs should, at least, get the axis assignments right, its output may need some tweaking. There may be axes moving the opposite way they should, the dead zones may be too small etc. For instance, I had to change  
The the axis/button assignment of fgjs should, at least, get the axis assignments right, its output may need some tweaking. There may be axes moving the opposite way they should, the dead zones may be too small etc. For instance, I had to change  
131

edits

Navigation menu