User Tools

Site Tools


projects:a4sim:joystickoverridedatarefs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:a4sim:joystickoverridedatarefs [2020/01/24 23:02]
dwheele
projects:a4sim:joystickoverridedatarefs [2020/02/01 23:47] (current)
dwheele
Line 2: Line 2:
  
 X-Plane has a means which allows several main controls to override the configured Joystick. For example, Aileron, Elevator, Rudder.  X-Plane has a means which allows several main controls to override the configured Joystick. For example, Aileron, Elevator, Rudder. 
 +
 +Make sure that the type of the value for the Sim is **boolean**.
  
 Currently, I set these to 1 when the XpluginEnable is called, to 0 when XpluginDisable is called. Currently, I set these to 1 when the XpluginEnable is called, to 0 when XpluginDisable is called.
Line 9: Line 11:
  
 ^Override Dataref^Overrides this^Notes^ ^Override Dataref^Overrides this^Notes^
-^sim/operation/override/\\ override_joystick_roll|?|?+^sim/operation/override/override_joystick_roll (bool)|sim/joystick/yoke_roll_ratio|Override just roll control.\\ Use sim/cockpit2/controls/yoke_roll_ratio
-^sim/operation/override/override_joystick_roll|yoke_roll_ratio.|Override just roll control.| +^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|override_throttles|?|?+^sim/operation/override/override_joystick_heading (bool)|sim/joystick/yoke_heading_ratio|Override just heading (yaw) control (disables auto-coordination).\\ Use sim/cockpit2/controls/yoke_heading_ratio| 
-^?|yoke_heading_ratio|Override just heading (yaw) control (disables auto-coordination).|+^sim/operation/override/override_throttles|sim/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.| 
 +^sim/operation/override/override_gearbrake|Keyboard "G" control|Override gear and brake status\\ Use sim/cockpit2/controls/gear_handle_down| 
 + 
 + 
 +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_roll_ratio
 sim/joystick/yoke_yaw_ratio sim/joystick/yoke_yaw_ratio
projects/a4sim/joystickoverridedatarefs.1579906974.txt.gz · Last modified: 2020/01/24 23:02 by dwheele