diff --git a/src/animations/Chimes.cpp b/src/animations/Chimes.cpp index f31c84f..34c381c 100644 --- a/src/animations/Chimes.cpp +++ b/src/animations/Chimes.cpp @@ -26,13 +26,7 @@ void ChimesAnimation::randomize() { } void ChimesAnimation::handleEvent(const InputEvent& evt) { - if (evt.intent == InputEvent::UserInput) { - if (strcmp(evt.asString(), "blobs") == 0) { - m_blobs.toggle(); - } else if (strcmp(evt.asString(), "chimes") == 0) { - m_chimes.toggle(); - } - } else if (evt.intent == InputEvent::SetColor) { + if (evt.intent == InputEvent::SetColor) { m_flashBrightness.set(255, 0); m_flashColor = evt.asRGB(); uint8_t flashHue = rgb2hsv_approximate(m_flashColor).hue;