libtinylor
Single-file header library for controlling Light-O-Rama hardware
|
Represents a request to apply an effect to a set of channels on a specific unit. The effect may require additional arguments, which are stored in the args field. Fields may be set directly, or better yet, by using the provided helper functions which handle potential data validation/conversion that you may not want to do. More...
#include <tinylor.h>
Data Fields | |
lor_effect | effect |
The effect type to apply. | |
lor_effect_args_u | args |
The effect data, if required by the effect type, otherwise zero. | |
lor_channel_set | cset |
The channel set to apply the effect to, may be a single channel. | |
lor_unit | unit |
The unit to apply the effect to. | |
Represents a request to apply an effect to a set of channels on a specific unit. The effect may require additional arguments, which are stored in the args field. Fields may be set directly, or better yet, by using the provided helper functions which handle potential data validation/conversion that you may not want to do.
lor_effect_args_u lor_req::args |
The effect data, if required by the effect type, otherwise zero.
lor_channel_set lor_req::cset |
The channel set to apply the effect to, may be a single channel.
lor_effect lor_req::effect |
The effect type to apply.
lor_unit lor_req::unit |
The unit to apply the effect to.