August 20, 200520 yr Hello,I am new to FlightGear. Just got it setup on Windows XP (I hope to run it on BSD also once I get it running on my new HD).I recently purchased a Saitek Cyborg Evo joystick. The rudder control was not working in FlightGear. After some exploring, I discovered (using js_demo) that the stick identifies itself asJoystick 0 is "Saitek Cyborg Evo"In the Inputs folder there is a joystick configuration file for this stick, which puzzled me at first as to why it didn't work. The name in the file isSaitek Cyborg USB StickOnce I changed this toSaitek Cyborg Evothe rudder and everything else worked fine.Thought this might help someone and perhaps the distribution could be updated. I don't know if older evo sticks identify this way or they identify this way in Unix based OS, so it may help to supply two configurations with the different names if that is the case.Steve
August 20, 200520 yr Hi Steve,thank you for sharing this with us (users). I had a similar problem some time ago to get my rudder (pedals) working which are plugged into USB via an adaptor as Joystick 1. The problem could be solved as I found out that several names are allowed in the header of the config file, here is the config file for the Saitek X45 joystickSaitek X45Saitek Saitek X45Saitek X45 Flight Controller USBwith 3 different names.So if any *developer* reads your post, Saitek Cyborg Evo could simply be added to the Cyborg-Evo.XML header for the next FG version.RegardsGeorg EDDW
August 21, 200520 yr >Hi Steve,>thank you for sharing this with us (users). I had a similar>problem some time ago to get my rudder (pedals) working which>are plugged into USB via an adaptor as Joystick 1. The problem>could be solved as I found out that several names are allowed>in the header of the config file, here is the config file for>the Saitek X45 joystick>>> Saitek X45> Saitek Saitek X45> Saitek X45 Flight Controller USB>>with 3 different names.>>So if any *developer* reads your post, Saitek Cyborg Evo could>simply be added to the Cyborg-Evo.XML header for the next FG>version.I encourage you to post your modifications either to the FlightGear (Devel) mailing list or simply send them directly to any of the CVS maintainers.
August 21, 200520 yr > I see what your saying. My file is the same way but I can't>change it.What do you mean by "I can't change it"?You simply have to edit the file and then save it afterwards.However, if you're using a non Win32 OS and are a new to that OS, you might theoretically have issues with file permissions?
August 22, 200520 yr Hi,sorry for the delay due to work.You are right, if you open a XML file with left mouse button click then it is displayed in M$ Internet Explorer and can't be changed (?).Click with the *right* mouse button and select "open with" (or something similar to that as I don't have an English Windows version) and then "Editor" or "Wordpad" or "Word" or ..The only important thing after editing is to save the file *in plain text format*!!! If you use the Editor or Wordpad this is done by default.Hope this helps a little!RegardsGeorg EDDW
August 22, 200520 yr >Hi,>sorry for the delay due to work.>You are right, if you open a XML file with left mouse button>click then it is displayed in M$ Internet Explorer and can't>be changed (?).>>Click with the *right* mouse button and select "open with" (or>something similar to that as I don't have an English Windows>version) and then "Editor" or "Wordpad" or "Word" or ..>The only important thing after editing is to save the file *in>plain text format*!!! If you use the Editor or Wordpad this is>done by default.>Hope this helps a little!>Regards>Georg EDDWSorry, you are of course entirely correct, I'm myself not a regular Win32 user and hence sometimes forget that Microsoft tend to make things usually more complicated than they really are, indeed all XML files are of course in plain text format, so they can be easily edited with any editor (even Office/Word if you relly need to) as long as you save them in PLAIN TEXT format ultimately.In order to avoid any pitfalls, you'll probably want to use the simplest editor available under Win32, anything like edit.com or notepad.exe will actually already be sufficient and actually even preferable because these don't support any other output format.The internet explorer (or any XML supporting browser for that matter) will actually merely come in handy when it comes to validating/verifying the syntax of your modified XML files without using any 3rd party tools.Also, if you check any of the freeware download archives online, you will probably find hundreds of free XML editors - just in case you find it too inconvenient to manually modify all tags and attributes.
August 22, 200520 yr On Win32 (for example Windows XP), the newlines are different. If you open the XML file in Notepad and see little boxes at end of lines, it is in Unix format. I am not sure if FG will choke on Windows/DOS/PC newlines in the joystick config files (it seems that some files may), but to be sure, I edit and save the files in Homesite, which is capble of saving with Mac(pre OSX)/Unix/PC newlines. Naturally, I save in Unix format. Maybe TextPad can do this---a good editor, but I can't recall if it supports saving in Unix format.I hope to subscribe to the FG devel list and pass this info to them, but need to create a new email account because they have very light anti-spam protection for their list archive.Steve
August 22, 200520 yr Hi Steve,if you will follow the recommendation of hfitz then you can download a XML editor for free (good, small, fast, free):XIN XML-Editor Windowshttp://xined.sourceforge.net/index.php?opt...id=21&Itemid=57RegardsGeorg EDDW
Create an account or sign in to comment