Board index FlightGear Support Hardware

Logitech 3D Joystick

Joysticks, pedals, monitors.

Logitech 3D Joystick

Postby ruhuna » Mon Nov 05, 2018 2:37 am

In the joystick configuration screen what does 'Custom' button mean? How do you configure a Custom button for example for reverse thrust on Citation X ? Thanks
ruhuna
 
Posts: 14
Joined: Sat Jul 09, 2011 12:11 am

Re: Logitech 3D Joystick

Postby Knüppelrührer » Mon Nov 05, 2018 7:07 am

Oh yes, good question.

Same problem here, but only on a Thrustmaster T-flightstick and I'd like to assign custom-botton to carburator heat, so I don't loose my direction during go-around or touch-and-go.

Haven't found that in the wikis.

Thanks!
Knüppelrührer
 
Posts: 37
Joined: Thu Oct 25, 2018 9:06 pm

Re: Logitech 3D Joystick

Postby cptRon » Wed Feb 06, 2019 7:26 pm

I may be wrong but I think custom can be used to set button in your joystick config file, the location of which should be stated in the joystick config dialog.

In the xml you can assign the button number desired to be mapped to Custom and then proceed to include the binding for the button, either through xml or nasal script.

So custom could be used for anything that is not a default binding option.

for instance on the citation-x if you want reverser to button 8 in your joystick config xml file add

Code: Select all
<button n="8">
    <desc type="string">Custom</desc>
    <binding>
      <property>controls/engines/engine/reverser</property>
      <command>property-toggle</command>
    </binding>
  </button>


and say on the cessena 172p if you want carb-heat to button 8 in your joystick config xml file add

Code: Select all
<button n="8">
    <desc type="string">Custom</desc>
    <binding>
      <property>controls/engines/current-engine/carb-heat</property>
      <command>property-toggle</command>
    </binding>
  </button>


if FlightGear is already loaded remember to click "Refresh Joysticks" after saving the changes

Buttons assigned like this may be aircraft specific.

If your joystick has labels with number one being the lowest, remember to subtract 1 to get the true button id. The best way to get the id is to open the joystick config dialog, press the desired button on the joystick, and watch which box lights up. then count left to right starting at 0 to get the button number.

possible values for property tag can be found in-sim by pressing '/'.
cptRon
 
Posts: 18
Joined: Sun Dec 30, 2018 4:24 am

Re: Logitech 3D Joystick

Postby mana1000 » Sat Mar 09, 2019 3:30 pm

Knüppelrührer wrote in Mon Nov 05, 2018 7:07 am:Oh yes, good question.

Same problem here, but only on a Thrustmaster T-flightstick and I'd like to assign custom-botton to carburator heat, so I don't loose my direction during go-around or touch-and-go.

Haven't found that in the wikis.

Thanks!

Has anyone succeeded in mapping the dialer? (I would like to map it to zoom, but that I can figure out once I know which axis or something else it actually is).https://inro.in/lucky-patcher/ https://inro.in/9apps/ https://inro.in/vidmate/
Last edited by mana1000 on Sat Mar 09, 2019 6:58 pm, edited 1 time in total.
mana1000
 
Posts: 1
Joined: Sat Mar 09, 2019 3:26 pm

Re: Logitech 3D Joystick

Postby cptRon » Sat Mar 09, 2019 6:18 pm

FlightGear ships with a program js_demo for linux and js_demo.exe for windows.
Here is a link to the FlightGear wiki on it

http://wiki.flightgear.org/Input_device

if the dialer does not show up it's a good chance it is not recognized by FlightGear at the moment.
cptRon
 
Posts: 18
Joined: Sun Dec 30, 2018 4:24 am


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests