fl16: Signal bios mode also via capslock LED
Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
parent
503255e33c
commit
67be5557fb
@ -70,11 +70,13 @@ void handle_factory_command(uint8_t *data) {
|
|||||||
// Red
|
// Red
|
||||||
rgb_matrix_sethsv_noeeprom(0, 0xFF, 0xFF);
|
rgb_matrix_sethsv_noeeprom(0, 0xFF, 0xFF);
|
||||||
rgb_matrix_mode_noeeprom(1);
|
rgb_matrix_mode_noeeprom(1);
|
||||||
|
writePin(GP24, 1);
|
||||||
} else {
|
} else {
|
||||||
// White
|
// White
|
||||||
rgb_matrix_sethsv_noeeprom(0, 0, 0xFF);
|
rgb_matrix_sethsv_noeeprom(0, 0, 0xFF);
|
||||||
rgb_matrix_mode_noeeprom(1);
|
rgb_matrix_mode_noeeprom(1);
|
||||||
bios_mode = false;
|
bios_mode = false;
|
||||||
|
writePin(GP24, 0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case f_factory_mode:
|
case f_factory_mode:
|
||||||
|
@ -232,3 +232,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|||||||
return true; // Process all other keycodes normally
|
return true; // Process all other keycodes normally
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool led_update_kb(led_t led_state) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user