[Flightgear-devel] Re: New joystick bindings XML file for WIngman Force 3D USB
* Buchanan, Stuart -- Sunday 23 October 2005 10:14: I've created a new XML binding file for the USB version of the Wingman Force 3D joystick. Umm ... this driver file is full of obsolete commands and methods. It sets throttle only for four engines (instead of using the nasal command controls.throttleAxis()), mixture only for two engines (instead of using the nasal command controls.adjMixture(-1)), doesn't use the trim functions (controls.aileronTrim() etc.), and has hard-coded flap angles. You modeled this driver after one from the 0.9.8a release, no? I'm afraid this driver needs some modernization. :-} m. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Re: New joystick bindings XML file for WIngman Force 3D USB
* Melchior FRANZ -- Sunday 23 October 2005 10:28: I'm afraid this driver needs some modernization. :-} I'm already doing that and will post a link to that modernized version. Maybe you can test that? BTW, this looks fishy, too: property/controls/engines/engine[0]/throttle/property offset type=double-.3/offset factor type=double-1.0/factor Did you write this for an uncalibrated joystick? Really -0.3? m. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Re: New joystick bindings XML file for WIngman Force 3D USB
Melchior FRANZ a écrit : Can you try this file? http://members.aon.at/mfranz/wingman-force-3d-usb.xml It uses the new methods, adds descriptions, fixes indentation etc. Maybe I swapped throttle and rudder. Didn't know which OS you are running fgfs on. If you insist in sending a new file, try to incorporate my changes. Melchior, the hat is also OS-specific. From Logitech/wingman-extreme-digital-3d.xml axis n=6 ! That is wrong but harmless, should be axis -- descView Direction/desc number unix4/unix mac4/mac windows6/windows /number ... axis descView Elevation/desc number unix5/unix mac5/mac windows7/windows /number ... It also use /sim/current-view/goal-pitch-offset-deg and /sim/current-view/goal-pitch-offset-deg instead of your /sim/current-view/axes/lat and /sim/current-view/axes/long. Which is best ? -Fred ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Re: New joystick bindings XML file for WIngman Force 3D USB
* Frederic Bouvier -- Sunday 23 October 2005 17:25: the hat is also OS-specific. From Logitech/wingman-extreme-digital-3d.xml Ahh, yes. It also use /sim/current-view/goal-pitch-offset-deg and /sim/current-view/goal-pitch-offset-deg instead of your /sim/current-view/axes/lat and / It's not really mine. It's just one detail that I hadn't looked at in that file, where pretty much everything was wrong. :-) m. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Re: New joystick bindings XML file for WIngman Force 3D USB
It's not really mine. It's just one detail that I hadn't looked at in that file, where pretty much everything was wrong. :-) Yes, not exactly the most useful of patches :) I've applied Frederic's changes to the file you changed, corrected a couple of script tags that weren't terminated and tested on my OS (XP). An updated version is available on http://www.nanjika.co.uk/flightgear/wingman-force-3d-usb.xml It sounds like the wingman-force-3d.xml file I based my changes on is out of date. My original reason for making the change was to fix some incorrect axes for my joystick. Given that these are handled by OS-specific sections, I _think_ the file may work well for the non-USB versions of the stick. Anyone with a non-USB Wingman Force 3D want to try it out by changing the name field? -Stuart ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Re: New joystick bindings XML file for WIngman Force 3D USB
* Buchanan, Stuart -- Sunday 23 October 2005 19:09: * * Melchior FRANZ: where pretty much everything was wrong. :-) Yes, not exactly the most useful of patches :) It wasn't that bad, only very outdated. And it's better to submit such files and fix the issues, than having no support for the js at all. http://www.nanjika.co.uk/flightgear/wingman-force-3d-usb.xml Looks good to me. (You even fixed my ugly XML syntax errors. :-) To Fred: I've no idea if one of the two view direction properties is to be preferred. I just used that from the Cyborg-3D, and this uses the one from the X45. Everything that works is good. ;-) I _think_ the file may work well for the non-USB versions of the stick. Anyone with a non-USB Wingman Force 3D want to try it out by changing the name field? OK, I'll wait for an answer before I commit. m. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d