395
edits
Philosopher (talk | contribs) m (<syntaxhighlight>) |
Philosopher (talk | contribs) m (ahem, I've used bash syntaxhighlight before... just didn't know there was DOS too!) |
||
Line 115: | Line 115: | ||
Under Windows, open a command shell (<tt>Start > All Programs > Accessories > Command Prompt</tt>), go to the FlightGear binary folder and start the program as follows (given FlightGear is installed under <tt>C:/Program Files/Flightgear</tt>) | Under Windows, open a command shell (<tt>Start > All Programs > Accessories > Command Prompt</tt>), go to the FlightGear binary folder and start the program as follows (given FlightGear is installed under <tt>C:/Program Files/Flightgear</tt>) | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="dos"> | ||
C: | C: | ||
cd /Program Files/FlightGear/bin/win32 | cd /Program Files/FlightGear/bin/win32 | ||
Line 224: | Line 224: | ||
Here, we obviously have supposed a Linux/UNIX system with FlightGear being installed under '''/usr/local/FlightGear'''. For a similar procedure under Windows with FlightGear being installed under C:/Program Files/FlightGear, open a command shell and type | Here, we obviously have supposed a Linux/UNIX system with FlightGear being installed under '''/usr/local/FlightGear'''. For a similar procedure under Windows with FlightGear being installed under C:/Program Files/FlightGear, open a command shell and type | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="dos"> | ||
C: | C: | ||
cd /Program Files/FlightGear/Input/Joysticks | cd /Program Files/FlightGear/Input/Joysticks | ||
Line 272: | Line 272: | ||
For configuring your joystick using this approach, open a command shell (command prompt under windows, to be found under Start|All programs|Accessories). Change to the directory <tt>[[$FG_ROOT]]/bin</tt> via e.g. (modify to your path) | For configuring your joystick using this approach, open a command shell (command prompt under windows, to be found under Start|All programs|Accessories). Change to the directory <tt>[[$FG_ROOT]]/bin</tt> via e.g. (modify to your path) | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="dos">cd C:/Program Files/FlightGear/bin</syntaxhighlight> | ||
and invoke the tool fgjs via | and invoke the tool fgjs via | ||
<syntaxhighlight lang="bash">./fgjs --fg-root= | <syntaxhighlight lang="bash">./fgjs --fg-root=$FG_ROOT</syntaxhighlight> | ||
on a UNIX/Linux machine, or via | on a UNIX/Linux machine, or via | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="dos">fgjs --fg-root=$FG_ROOT</syntaxhighlight> | ||
on a Windows machine. The program will tell you which joysticks, if any, were detected. Now follow the commands given on screen, i.eṁove the axis and press the buttons as required. Be careful, a minor touch already “counts” as a movement. Check the reports on screen. If you feel something went wrong, just re-start the program. | on a Windows machine. The program will tell you which joysticks, if any, were detected. Now follow the commands given on screen, i.eṁove the axis and press the buttons as required. Be careful, a minor touch already “counts” as a movement. Check the reports on screen. If you feel something went wrong, just re-start the program. |
edits