aircraft:tmd:inputs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
aircraft:tmd:inputs [2019/07/20 16:54] – [input_pair] jh | aircraft:tmd:inputs [2022/07/19 21:00] – jh | ||
---|---|---|---|
Line 22: | Line 22: | ||
E.g. you don't need to come up with different names for the graphics section than for the physics. Just re-use the same one everywhere. Much easier. | E.g. you don't need to come up with different names for the graphics section than for the physics. Just re-use the same one everywhere. Much easier. | ||
- | E.g. In the GraphicObjects section you can **re-use the same name for the graphic object**, e.g. the hingedbodygraphics LandingLightSwitch can use the AngleID | + | E.g. In the GraphicObjects section you can **re-use the same name for the graphic object**, e.g. the hingedbodygraphics LandingLightSwitch can use the InputID |
**...Knob, ...Switch** | **...Knob, ...Switch** | ||
Line 79: | Line 79: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 107: | Line 107: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
- | < | + | |
> | > | ||
</ | </ | ||
Line 207: | Line 206: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 236: | Line 235: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 277: | Line 276: | ||
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 328: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 362: | Line 361: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 431: | Line 430: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 464: | Line 463: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 528: | Line 527: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 553: | Line 552: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 612: | Line 611: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 644: | Line 643: | ||
< | < | ||
< | < | ||
- | < | + | < |
- | < | + | < |
> | > | ||
</ | </ | ||
Line 654: | Line 653: | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 668: | Line 667: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 677: | Line 676: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 686: | Line 685: | ||
===== 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 717: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 700: | Line 723: | ||
</ | </ | ||
- | ===== Digital States | + | ===== Other Inputs |
==== input_binary ==== | ==== input_binary ==== | ||
Line 709: | Line 732: | ||
< | < | ||
- | < | + | < |
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 731: | Line 754: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 739: | Line 762: | ||
> | > | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 753: | Line 776: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 768: | Line 791: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 776: | Line 799: | ||
</ | </ | ||
- | ==== 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 811: | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
Line 843: | Line 836: | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 852: | Line 845: | ||
> | > | ||
< | < | ||
- | < | + | < |
- | < | + | < |
< | < | ||
< | < | ||
Line 865: | Line 858: | ||
</ | </ | ||
- | ==== input_default | + | ==== input_event |
- | < | + | Receives messages and then fires events with the received message value. |
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * All events in the '' | ||
+ | |||
+ | The use of the '' | ||
+ | |||
+ | <code> < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | | ||
</ | </ | ||
- | ==== 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