FGJS(1)

✨ FGJS(1) ✨

okay bestie, so this is the manual page for fgjs, aka the FlightGear joystick utility β€” and yes it's literally the thing that makes your joystick talk to your plane πŸ•ΉοΈπŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

fgjs [--help] [--fg-root=rootdir]

πŸ¦‹ DESCRIPTION πŸ¦‹

So. fgjs is a joystick utility for the FlightGear flight simulator, and what it does is generate a configuration file for your joystick, interactively β€” like, it walks you through it, no cap. πŸ’…

To use it, just launch the program with your joystick(s) plugged in. The utility will first prompt you to move each joystick around in the dead band, that is, the area where it is centered and should not generate any input. (iykyk β€” that lil neutral zone 🌸) Then afterwards, you'll be asked to move the control / push the button you would like to use for each function. one by one. iconic behaviour honestly.

The configuration gets saved in the current working directory in several files named jsI.xml, where I is the progressive number assigned to each detected joystick. ✨

⚠️ but listen β€” you still have to move them to ~/.fgfs/Input/Joysticks for FlightGear to actually use them. it does NOT do that part for you, bestie, that's on you 😭

πŸ’– OPTIONS πŸ’–

  • --help β€” Display usage information and exit. that's it, that's the whole vibe 🫢
  • --fg-root=rootdir β€” Set the FlightGear data root directory ($FG_ROOT) to rootdir.

🌈 ENVIRONMENT 🌈

  • FG_ROOT β€” If FG_ROOT is set and --fg-root is not set, it specifies the root data directory to use. so like, backup plan energy πŸ’œ

πŸ“ FILES πŸ“

  • ~/.fgfsrc.hostname, ~/.fgfsrc β€” Configuration files containing command-line options for fgfs(1). The --fg-root command-line option is searched there if it is not passed as a command-line argument to fgjs. sneaky lil lookup, obsessed 🧚

⭐ SEE ALSO ⭐


and that's the whole page, bestie!! 🌸 this was brought to you by FlightGear, dated 2017-06-04 β€” so yeah it's giving vintage but she still serves πŸ’…βœ¨ mwah, go configure that joystick, you got this πŸ‘‘πŸŽ€