h/f: persist layer color toggle state in eeprom
Some checks failed
Build firmware / build-firmware (default) (push) Has been cancelled
Build firmware / build-firmware (oryx) (push) Has been cancelled

This commit is contained in:
Florian Didron
2025-07-10 09:12:22 +07:00
parent f820dbb048
commit 5456d00fd8

View File

@@ -240,6 +240,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
keyboard_config.disable_layer_led ^= 1;
if (keyboard_config.disable_layer_led) rgb_matrix_set_color_all(0, 0, 0);
eeconfig_update_kb(keyboard_config.raw);
}
break;
case RGB_TOG: