mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-01-08 06:32:25 +00:00
h/f: persist layer color toggle state in eeprom
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user