aircraft:tmd:inputs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
aircraft:tmd:inputs [2019/07/20 17:02] – [input_default] jh | aircraft:tmd:inputs [2022/07/19 20:59] – jh | ||
---|---|---|---|
Line 79: | Line 79: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 207: | Line 207: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 236: | Line 236: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 277: | Line 277: | ||
The typical chain consists of '' | The typical chain consists of '' | ||
- | The setup is similar to the toggle switch only with minor differences like the use of '' | + | The setup is similar to the toggle switch only with minor differences like the use of '' |
=== ControlObjects === | === ControlObjects === | ||
Line 329: | Line 329: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 362: | Line 362: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 431: | Line 431: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 464: | Line 464: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 528: | Line 528: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 553: | Line 553: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 612: | Line 612: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 644: | Line 644: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 654: | Line 654: | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 668: | Line 668: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 677: | Line 677: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 686: | Line 686: | ||
===== Flight Controls ===== | ===== Flight Controls ===== | ||
+ | |||
+ | ==== input_default ==== | ||
+ | |||
+ | The input_default is used for all non-discrete (floating point) inputs. | ||
+ | |||
+ | Typically these are found for light dimmers, trim inputs, etc. which are typically operated with a joystick or with a cockpit dimmer or trim-wheel, etc. but button inputs are also possible with this generic input. | ||
+ | |||
+ | The '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | </ | ||
==== input_control ==== | ==== input_control ==== | ||
Line 694: | Line 718: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 700: | Line 724: | ||
</ | </ | ||
- | ===== Digital States | + | ===== Other Inputs |
==== input_binary ==== | ==== input_binary ==== | ||
Line 709: | Line 733: | ||
< | < | ||
- | < | + | < |
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 731: | Line 755: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 739: | Line 763: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 753: | Line 777: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 768: | Line 792: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 776: | Line 800: | ||
</ | </ | ||
- | ==== input_event ==== | ||
- | |||
- | Receives messages and then fires events with the received message value. | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * All events in the '' | ||
- | |||
- | The use of the '' | ||
- | |||
- | < | ||
- | < | ||
- | < | ||
- | > | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | > | ||
- | </ | ||
- | |||
- | ==== input_active ==== | ||
- | |||
- | Outputs 1.0 to the tmd as long as a lever is grabbed or a button is depressed. | ||
- | |||
- | < | ||
- | < | ||
- | < | ||
- | > | ||
- | </ | ||
==== input_cyclic ==== | ==== input_cyclic ==== | ||
Line 818: | Line 812: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 843: | Line 837: | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 852: | Line 846: | ||
> | > | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 865: | Line 859: | ||
</ | </ | ||
- | ==== input_default | + | ==== input_event |
- | The input_default is used for all non-discrete (floating point) inputs. | + | Receives messages and then fires events with the received message value. |
- | Typically these are found for light dimmers, trim inputs, etc. which are typically operated with a joystick or with a cockpit dimmer or trim-wheel, etc. but button inputs are also possible with this generic input. | + | * '' |
+ | * '' | ||
+ | * All events in the '' | ||
- | The '' | + | The use of the '' |
- | + | ||
- | '' | + | |
- | < | + | < |
- | < | + | < |
- | <[tmvector2d][Range][ -1.0 1.0 ]> | + | <[string8][Events][ DEV0.Trigger |
> | > | ||
- | <[input_default][PitchTrimInput][] | + | <[input_event][Button_Pressed][] |
- | < | + | < |
- | <[string8][InputEnable][1.0]> | + | <[float64][InputValue][1.0]> |
- | <[uint][Positions][801]> | + | <[string8][Events][ DEV0.Trigger |
- | < | + | |
- | < | + | |
- | < | + | |
> | > | ||
</ | </ | ||
- | ==== input_scratchpad | + | ==== input_active |
- | < | + | Outputs 1.0 to the tmd as long as a lever is grabbed or a button is depressed. |
+ | |||
+ | > Typically this is only used to make a light illuminate as long as a button is pressed or to give visual feedback that a control is grabbed. Don't use this for every single button in combination with an event_edge, this should be done with the '' | ||
+ | |||
+ | <code> < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
+ |
aircraft/tmd/inputs.txt · Last modified: 2022/07/19 21:02 by jh