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:08] jhaircraft:tmd:inputs [2019/07/20 16:10] jh
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