Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Joystick issues

Featured Replies

Hi there:-wave Thanks to everyone for Flight Gear. Great project!Athlon XP 1900MSI KTA 133 Ultra boardGforce 3 TI 200ram / 768 megs DDR333Input/Joysticks/ThrustMaster/Top-Gun-Afterburner.xml (no FFB but USB)XP pro serv pack 1. (Wish I was sure I could safely install and run a Linux partition)DX9.0blatest NVidia driversProblem is I can't get rudder to work, and yes autocoordination is deactivated.Tried :- running fgjs.exe. Never got rudder to work. I think I lost all button changes I made when I relaunched fg. The output file seems to be Java script... (Q^Q) I think that's when I got lost- replacing the joystick.xml file with C:Program FilesFlightGeardataInputJoysticksThrustMasterTop-Gun-Afterburner.xml and renaming it to joystick.xmlStill no rudder, buttons worked but view kept circling in all views.Tried many other things one desperate non coder virtual pilot wanna fly Flight Gear guy can think of.Joystick documentation is.... confusing. Spent many hours reading but never could understand the principle.:-zhelp I'm notta coderThanks in advanceQ!

1) Run FlightGearbinWin32js_demo.exeA DOS window will open, and rows of numbers will start to display.First Column refers to Joystick buttons;Second Column is Joy Axis 0Third is Joy Axis 1,etc...Move your control and identify what channel is assigned to each of the axis.In my Logitech Wingman Extreme 3D Aileron is on Axis 0, Elevator on Axis 1, Throttle on Axis 2 and Rudder on Axis 3.2) Joystick button id is a little bit trickier because it involves converting the sequence of hexa digits in the first column to decimal button IDs, but it is documented in====================================================================Joystick test program.~~~~~~~~~~~~~~~~~~~~~~Joystick 1 not detected Joystick 2 not detected+--------------JS.0--------------+| Btns Ax:0 Ax:1 Ax:2 | +--------------------------------+| 0000 +0.0 +0.0 -1.0 |The buttons are handled internally as a binary number in which bit 0 (the least significant bit) represents button 0, bit 1 represents button 1, etc., but this number is displayed on the screen in hexadecimal notation, so: 0001 => button 0 pressed 0002 => button 1 pressed 0004 => button 2 pressed 0008 => button 3 pressed 0010 => button 4 pressed 0020 => button 5 pressed 0040 => button 6 pressed ... etc. up to ... 8000 => button 15 pressed ... and ... 0014 => buttons 2 and 4 pressed simultaneously ... etc.====================================================================3) Since I was never able to make good use of the output of the "fgfs.exe" command, which as you pointed out generates a JavaScript file, I prefer to do the following:3.1) Open the xml file of the joystick that better suites my joystick, under FlightGeardataInputJoysticks. Mine is under the Logitech directory - "Extreme-3d-win.xml".When you click on the file to open it the MS browser will kick in and open it. You can enter edit the source code using "View/Source". Take care not to introduce any unwanted characters here. You'd better find out all references to each of the joystick axis and then modify and save them by editing the file. In my case I used the "Extreme-3d-win.xml" as a basis and edited only to change the entries corresponding to the pitch, aileron and rudder trim as well as the views - hat switch.3.2) Copy your modified ".xml" file over dataInputJoysticksjoystick.xml and you're ready to go...Hope this helps...

Merci beaucoup JCIt took me "some time" but I got all axis configured.As you suggested I used FlightGeardataInputJoysticksThrustMaster .xml file as a starter.I use XML Notepad to edit them .xml files.:-newbie The formatting helps alot.In fact all I did was rename the joystick axis interchanging numbers only. Axis 2 became Axis 3 and vice versaThen I renamed Axis 5 and 6 to Axis 6 and 7 and that stopped the spinning around view.I'm a happy flyer now :-rotorHave a nice day, I know I will :)Q!

Quebec,thank you for the XML Notepad hint! I just downloaded it!!!It's certainly a LOT better than using standard notepad.

Bonjour againIf you liked that one, perhaps you'll have use another one if you don't already know about it. It allows to merge sections of files and supports xml :)It's called Winmerge, and it's also free. It can be very usefull when you need to merge data from one file to another or just to compare file content. http://winmerge.sourceforge.net/BTW, I'm enjoying FlightGear a lot, flew for most of the day :)FlightGear got me :-abductQ!

  • 1 year later...

I ran in a similar problem, trying to get past the default simple joystick assignment and to use my super-duper multi-axis stick :)My setup is Dell Inspiron 9300 with Wingman 3D stick. There is an xml file for it but I didn't have a clue what to do with it. The fact is that FlightGear docs omit to mention copying your custom joystick XML file over the default one. I tried all tools provided and nothing worked.I'll try it shortly. Geez, thanks Icomm.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.