Skip to content

Commit 083ad74

Browse files
obraclaude
andcommitted
Make Bluetooth disconnect animation start darker and fade longer
Changes: - Use dimmer blue color (30% brightness: {0, 0, 76} vs {0, 0, 255}) - Increase duration from 5 seconds to 8 seconds for longer fade - Creates a more subtle, gentle disconnect indication 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 0e11f0b commit 083ad74

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

plugins/Kaleidoscope-LEDIndicators/src/kaleidoscope/plugin/LEDIndicators.cpp

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -634,13 +634,17 @@ EventHandlerResult LEDIndicators::onHostConnectionStatusChanged(uint8_t device_i
634634
1); // 1 cycle
635635
break;
636636
case HostConnectionStatus::Disconnected:
637-
showIndicatorWithDelay(getLEDForSlot(slot),
638-
IndicatorEffect::Shrink,
639-
color_blue,
640-
color_off,
641-
5000, // 5 second duration
642-
delay_ms, // Only delay if USB indicators are active
643-
1); // 1 cycle
637+
// Use a dimmer blue that fades to off over a longer duration
638+
{
639+
cRGB dim_blue = {0, 0, 76}; // ~30% brightness blue (76/255 ≈ 0.3)
640+
showIndicatorWithDelay(getLEDForSlot(slot),
641+
IndicatorEffect::Shrink,
642+
dim_blue,
643+
color_off,
644+
8000, // 8 second duration for longer fade
645+
delay_ms, // Only delay if USB indicators are active
646+
1); // 1 cycle
647+
}
644648
break;
645649
case HostConnectionStatus::PairingSuccess:
646650
showIndicator(getLEDForSlot(slot),

0 commit comments

Comments
 (0)