Send CC instead of NOTE_ON for Loopy Pro generic mirror. Clean up flash_activity.

This commit is contained in:
ash
2026-06-30 04:38:28 +00:00
parent 1728413cb8
commit 3389cc9403
2 changed files with 10 additions and 29 deletions
+2 -21
View File
@@ -278,27 +278,8 @@ void DefaultLedStub::set_led_brightness(uint8_t brightness) {
}
void DefaultLedStub::flash_activity() {
if (!initialized || !mux_ptr) return;
uint32_t now = millis();
// Save current LED 0 color if we just started flashing
if (now >= activity_off_time) {
saved_r = 0;
saved_g = 0;
saved_b = 0;
if (led_states[0].active) {
uint32_t color = launchpad_palette[led_states[0].velocity];
saved_r = (color >> 16) & 0xFF;
saved_g = (color >> 8) & 0xFF;
saved_b = color & 0xFF;
}
}
// Flash LED 0 white
mux_ptr->set_led_color(0, 255, 255, 255);
mux_ptr->show();
activity_off_time = now + 50;
// No-op: activity flash on all MIDI input was confusing.
// LED feedback is handled directly by set_led_state().
}
void DefaultLedStub::update() {