1FGJS(1) FlightGear man pages FGJS(1)
2
3
4
6 fgjs - FlightGear joystick utility
7
9 fgjs [--help] [--fg-root=rootdir]
10
12 fgjs is a joystick utility for the FlightGear flight simulator which
13 allows you to generate a configuration file for your joystick interac‐
14 tively.
15
16 To use it, launch the program with your joystick(s) connected. The
17 utility will first prompt you to move each joystick around in the dead
18 band, that is, the area where it is centered and should not generate
19 any input. Afterwards, you will be asked to move the control/push the
20 button you would like to use for each function.
21
22 The configuration will be saved in the current working directory in
23 several files named jsI.xml, where I is the progressive number assigned
24 to each detected joystick. You will need to move them to
25 ~/.fgfs/Input/Joysticks for them to be used by FlightGear.
26
28 --help Display usage information and exit.
29
30 --fg-root=rootdir
31 Set the FlightGear data root directory ($FG_ROOT) to rootdir.
32
34 FG_ROOT
35 If FG_ROOT is set and --fg-root is not set, it specifies the root
36 data directory to use.
37
39 ~/.fgfsrc.hostname, ~/.fgfsrc
40 Configuration files containing command-line options for fgfs(1).
41 The --fg-root command-line option is searched there if it is not
42 passed as a command-line argument to fgjs.
43
45 fgfs(1), js_demo(1), the FlightGear wiki "Joystick" page ⟨http://
46 wiki.flightgear.org/Joystick⟩
47
48
49
50FlightGear 2017-06-04 FGJS(1)