MCPcopy Create free account
hub / github.com/VCVRack/Befaco / setButtonLight

Method setButtonLight

src/Random8.cpp:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 float controlDt = 0.f;
170
171 void setButtonLight(int index, float r, float g, float b) {
172 const int base = pageLightBases[index];
173 lights[base + 0].setBrightness(r);
174 lights[base + 1].setBrightness(g);
175 lights[base + 2].setBrightness(b);
176 }
177
178 void resetChannelToDefaults(int channel) {
179 if (channel < 0 || channel >= NUM_CHANNELS) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected