Board index FlightGear Support Hardware

New joystick code format?

Joysticks, pedals, monitors.

New joystick code format?

Postby J Maverick 16 » Fri May 25, 2018 4:26 pm

Hi all, I've just installed 2018.2.1 and now I'm trying to re-add in a cleaner way the joystick xml files from my Thrustmaster FCS Flight Pack (T16000M stick, TWCS throttle, TFRP pedals) I find a substantial difference between my previous code and the new one:

Code: Select all

  <dead-band type="double">0.02</dead-band>
   <offset type="double">+0.0</offset>
   <factor type="double">+1.0</factor>


<axis n="0">
  <dead-band type="double">0.0</dead-band>
     <factor type="double">1.0</factor>
    <power type="int">2</power>
     <squared type="bool">true</squared>

Now I'm wondering if I need to rewrite it all like this or not since I use a custom configuration which enables me for example to open the in-game map or take a screenshot with a button on the stick.
Any help would be much appreciated.
Kind regards, Mav
Breakin' the sound barrier every day!

Scenery designer, basic livery maker, aircraft developer (current project: F-16).
Using Thrustmaster FCS Flight Pack.
Follow me also on Instagram & Twitter @j_maverick16, Google+ and YouTube.
User avatar
J Maverick 16
Posts: 754
Joined: Sat Feb 01, 2014 6:26 pm
Location: Northern Italy
Callsign: J-Mav16, OPFOR96
Version: 2018.2.1
OS: macOS 10.12

Re: New joystick code format?

Postby sim » Tue May 29, 2018 6:15 pm

Not necessary Maverick. My AV8R-01 joystick has 6 modifier states and lots of unusual button scripts too. My self built
AV8R-01 xml file has moved through all the versions of Flightgear since 2009 up to the latest 2018.1.1 version with no problems other than having to edit the xml internal <name>------</name> which changed a few times over the years. :wink:

<name type="string">Saitek AV8R joystick</name>
<name type="string">Saitek Pacific AV8R Stick for PC</name>
<name type="string">Saitek Aviator Stick</name>
<name type="string">Microsoft PC-joystick driver</name> was the name Flightgear recognised in 2009
works fine on very early Flightgear Version: 0.9.10 8)
User avatar
Posts: 1439
Joined: Tue Jun 30, 2009 2:13 pm
Location: Shropshire England
Callsign: Fly4Fun
Version: 0.9.10 up
OS: 64 Win 10 HD6450

Return to Hardware

Who is online

Users browsing this forum: BLEXBot [Bot] and 2 guests