Controls
Controls are bindable endpoints exposed by the application.
Upon receiving normalized events from the input system, the control system recomputes bindings using the input and dispatches events to the application for any new values.
Channels
Each control event includes a channel mask, which is paired with entity channel groups, to allow the same control to apply to multiple components.
Example
- Application exposes a
Throttle [0,1]control.- User maps two slider inputs to channels
ThrottleCH-1andCH-2, respectively.- Aircraft has four turbine components, each receiving the
Throttle [0,1]control.- User assigns the
Throttlecontrol group of two turbines toCH-1and two toCH-2.
Binding
Donten uses a procedural binding scheme, by which the user defines operations to transform inputs into values for entity consumption.
Outputs
Like input bindings, the control system allows application output events to be bound to output endpoints, such as LEDs.