User Tools

Site Tools


aircraft:tmd:inputs

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
aircraft:tmd:inputs [2019/07/07 17:07] jhaircraft:tmd:inputs [2019/07/20 16:10] jh
Line 1: Line 1:
 ====== TMD Inputs ====== ====== TMD Inputs ======
- 
-===== Buttons, Switches, Knobs and Levers ===== 
  
 Aircraft in the Aerofly FS 2 simulate interactive cockpits where each button, switch, knob, lever, selector, etc. are individual parts. We're now describing how to set up the most common inputs for your own custom aircraft. Aircraft in the Aerofly FS 2 simulate interactive cockpits where each button, switch, knob, lever, selector, etc. are individual parts. We're now describing how to set up the most common inputs for your own custom aircraft.
Line 48: Line 46:
  
 ---- ----
 +
 +===== Buttons, Switches, Knobs and Levers =====
  
 ==== Button ==== ==== Button ====
Line 650: Line 650:
  
 ---- ----
 +
 +==== Lever2 - Dual Lever ===
 +
 +<code>            <[input_lever2][Throttle1Input][]
 +                <[string8][Input0][Controls.Throttle1]>
 +                <[string8][Input1][Controls.ThrustReverse1]>
 +                <[float64][StepSize0][1.0]>
 +                <[float64][StepSize1][2.2222222]>
 +                <[bool][Input0ClampZero][true]>
 +                <[bool][Input1ClampZero][true]>
 +                <[string8][Range][ -1.0 1.35 ]>
 +                <[string8][Range0][ 0.0 1.0 ]>
 +            >
 +</code>
  
 ==== Rocker Button and Switch ==== ==== Rocker Button and Switch ====
Line 669: Line 683:
                 <[string8][EventsDownRelease][ SwitchSound.Trigger ]>                 <[string8][EventsDownRelease][ SwitchSound.Trigger ]>
             >             >
 +</code>
 +
 +===== Flight Controls =====
 +
 +==== input_control ====
 +
 +The input_control behaves much like the input_default but it allows for multiple input devices at the same time. E.g. you could be holding the yoke with your VR hands, then put them down and use your physical yoke instead. The input_control handles these cases and allows a soft transition between multiple devices or even the operation of multiple devices at the same time.
 +
 +> Usually the input_control is only used for the elevator and aileron.
 +
 +<code>            <[input_control][ElevatorInput][]
 +                <[string8][Input][Controls.Pitch.Input]>
 +                <[tmvector2d][Range][ -1.0 1.0 ]>
 +                <[float64][Value][0.0]>
 +            >
 +</code>
 +
 +===== Digital States =====
 +
 +==== input_binary ====
 +
 +<code>
 +</code>
 +
 +==== input_discrete ====
 +
 +<code>
 +</code>
 +
 +==== input_discrete_cyclic ====
 +
 +<code>
 +</code>
 +
 +==== input_discrete_momentary ====
 +
 +<code>
 +</code>
 +
 +==== input_event ====
 +
 +<code>
 +</code>
 +
 +==== input_active ====
 +
 +<code>
 +</code>
 +
 +==== input_cyclic ====
 +
 +<code>
 +</code>
 +
 +==== input_pair ====
 +
 +<code>
 +</code>
 +
 +==== input_default ====
 +
 +<code>
 +</code>
 +
 +==== input_scratchpad ====
 +
 +<code>
 </code> </code>
aircraft/tmd/inputs.txt · Last modified: 2022/07/19 21:02 by jh