User Tools

Site Tools


Sidebar

Dan's Wiki

DokuWiki Instructions (local) DokuWiki Manual
Site Checker (Orphans Wanted)

Edit Sidebar

projects:a4sim:joystickoverridedatarefs

This is an old revision of the document!


Joystick Override Datarefs

X-Plane has a means which allows several main controls to override the configured Joystick. For example, Aileron, Elevator, Rudder.

Currently, I set these to 1 when the XpluginEnable is called, to 0 when XpluginDisable is called.

  • sim/operation/override/override_joystick_roll
  • sim/operation/override/override_joystick_pitch
Override DatarefOverrides thisNotes
sim/operation/override/override_joystick_roll (bool)sim/joystick/yoke_roll_ratioOverride just roll control.
Use sim/cockpit2/controls/yoke_roll_ratio
sim/operation/override/override_joystick_pitch (bool)sim/joystick/yoke_pitch_ratio.Override just roll control.

Use sim/cockpit2/controls/yoke_pitch_ratio
sim/operation/override/override_joystick_heading (bool)sim/joystick/yoke_heading_ratioOverride just heading (yaw) control (disables auto-coordination).
Use sim/cockpit2/controls/yoke_heading_ratio
sim/operation/override/override_throttlessim/cockpit2/engine/actuators/throttle_ratio_all
Override the throttles. Use sim/flightmodel/engine/ENGN_thro_use[n] (or Deprecated sim/flightmodel/engine/ENGN_thro_override) to control them on override.

The throttle joystick moves the value of throttle_ratio_all, and other things. After override_throttles is set to 1, you can change throttle by change value of sim/flightmodel/engine/ENGN_thro_override

sim/joystick/yoke_roll_ratio sim/joystick/yoke_yaw_ratio

projects/a4sim/joystickoverridedatarefs.1580335036.txt.gz · Last modified: 2020/01/29 21:57 by dwheele