Jazz2::UI::RgbLights class

Provides access to RGB lights from various peripherals.

Public static variables

static std::int32_t ColorsSize constexpr
static std::int32_t RefreshRate constexpr

Public static functions

static auto Get() -> RgbLights&
Returns static instance of RgbLights.

Constructors, destructors, conversion operators

RgbLights()
~RgbLights()

Public functions

auto IsSupported() const -> bool
Returns true if the feature is supported.
void Update(Color colors[ColorsSize])
Updates colors of the lights.
void Clear()
Resets colors of the light to default settings.