Jump to content

Recommended Posts

Posted (edited)

Hi there,

I am new to Xplane and have got myself the A320neo from Jardesign which I am still learning but have the basics of a managed flight down. I am wanting to map commands for my Saitek X55 and understand that one cannot map the joystick commands to certain functions in the "buttons adv." menu. For example I want to map one of the joystick buttons as autopilot disconnect but the Xplane command "servos toggle down" doesn't have a response on the aircraft. I have no idea where to start with datarefs and editing these or mapping them. I've searched for a couple of days on various forums as to where to start so if anyone can offer this newbie any advice I'd really appreciate the help.

Thanks!

Edited by Locvirtual
Posted

xjoymap is the only way to do this properly, do not use flywitlua as it will create a loop that will interfere with aircraft systems

as the xsaitekpanels plugin does.
 
 
 
small example;
 
 
Default Planes
 
 
[AP Servos On]
new_command=my_pilot/ap_servos_engage
dataref=sim/cockpit2/autopilot/flight_director_mode
values=2
 
[AP Servos Off]
new_command=my_pilot/ap_servos_disengage
dataref=sim/cockpit2/autopilot/flight_director_mode
values=1
 
 
 
JAR A320
 
 
[A320 AP Servos On]
new_command=my_pilot/ap_servos_engage
dataref=sim/custom/xap/fcu/ap1
values=1
 
[A320 AP Servos Off]
new_command=my_pilot/ap_servos_disengage
dataref=sim/custom/xap/fcu/ap1
values=0
 
 
Now both planes will use the same buttom
keep all .xjm files inside the aircraft folder, do not put .xjm file in plugin folder as instructions suggest
study the xjoymap documentation and soon you will have a command for every button in your cockpit
you can then use that file as a base for every other plane you have
never again will you have to assign another button for a different plane
 
Enjoy
 
PS map all buttons to your .xjm file, not built in commands
think of it as your command server

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...