Lock layer without the LED?

A quick way to implement this would be a macro like this:

void togleNORMAN(uint8_t key_state) {
  static uint16_t blink_end;

  if (keyToggledOn(key_state)) {
    blink_end = millis() + 1000;
    if (Layer.isOn(NORMAN)) {
      Layer.off(NORMAN);
    } else {
      Layer.on(NORMAN);
    }
    LEDControl.setAllLedsTo(128, 0, 0);
    return;
  }

  if (blink_end && millis() > blink_end) {
    LEDControl.setAllLedsTo(0, 0, 0);
    blink_end = 0;
  }
}

The idea here is that when toggling the layer, we’ll set the leds, and record when the leds should turn off (1s after toggling on). When the key’s not toggled on, we check if we have an end time, and if we do and it is over, we turn the LEDs off. This does not blink, but show you a static color, mind you. Blinking can be implemented with reasonable ease. Or you could even add breathing… But those are left as an exercise for the reader! :wink: