![]() When you run jstest (try to not touch the joystick or exit quickly with Ctrl-C, as it appears at the top and, on my system, disappears quickly,) look at the reported name (mine says "Joystick (Logitech Logitech Extreme 3D) has 6 axes and 12 buttons.", so the name is "Logitech Logitech Extreme 3D") and put that at the top of the correct joystick file (FG_ROOT/data/Input/Joysticks/Saitek/X45.xml) if it's not already there (sorry, somewhere someone posted the location the default build puts it, but I couldn't find it. ![]() Once jstest reports that the values range correctly (-32767 to 32767,) you've done everything correct. This re-calibrates the joystick to the specified settings at startup. # Calibrate joystick 1 (should be the Wingman, may need fixing) # In order to enable or disable this script just change the execution # Make sure that the script will "exit 0" on success or any other # This script is executed at the end of each multiuser runlevel. Here's the contents of mine (I have two joysticks, so I am calibrating /dev/input/js1, but js0 is autocalibrated.) Thus, add the command to the end of the /etc/rc.local, before the line "exit 0". Then run the output (it should be a command.) This should be run at startup, as the joystick must be calibrated each time the computer boots. Once you calibrate, run the command "jscal -p js0". This probably needs to be corrected, as that's weird for a throttle axis. What I mean is, it asks for a high-low-center (it might be a different order,) but you need to find the high and low numbers (it displays them during calibration) and average them. If the values are 0 when the controls are centered and (for me) range from -32767 to 32767, you're good to go (some joysticks autocalibrate.) If not, you'll have to calibrate with the command "jscal -c js0".Īs a hint when calibrating, for throttle, look at the number displayed when it is at the low and high values and average that for the center position, because it does not know what to do with throttles. You can usually find it as /dev/input/js0 (that's for my first joystick.) Change the directory to /dev/input to make the tools easier to use. Unfortunately, these are command line tools.įirst, you have to find your joystick. I don't recall if it came with Ubuntu 9.04, but you can find some useful joystick tools in the "joystick" package accessible via Synaptic. My PC has a dual-core 3.6Ghz Intel CPU and 1GB of RAM (hoping to upgrade that soon!), with an Nvidia GeForce 7600 GS graphics card. Put another way, whilst I'm not a Linux newbie, I'm not a Linux expert either. I've been using Linux for quite a few years, but whilst I'm not scared of the command line, I prefer not to use it unless I really have to - I prefer doing things with computers rather than to them, in essence. Jsdemo evidently isn't in any path that my system expects it to be, and frankly, I'm not sure where FlightGear itself is, I haven't been able to spot it in the Home, USR, OPT or VAR directories.Īny advice on how to proceed would be most welcome. When I run Fgfs, the program starts, but after pressing enter, it displays the number 10 and taht's it, doesn't do a thing. ![]() ![]() I have a Saitek X-45 (flew for several years in WarBirds and AcesHigh, also flew Flight Gear on Windows for a month or so before I gave up on Windows) Flightgear itself seems to work fine (I can just about fly using the keyboard) - the problem I have is in getting my joystick set up. I am running Ubuntu 8.10 on my PC, and I simply installed FlightGear from the Ubuntu repositories using Synaptic.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |