max - screen backlight dropped to 5, keyboard backlight brightness dropped by half to 128. Will need to revise message flash in settingscreen.h to use buzze instead of keyboard backlight led

This commit is contained in:
pelgraine
2026-06-02 22:54:57 +10:00
parent 4c4efd4cf3
commit ef13cfac7e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4118,7 +4118,7 @@ void handleKeyboardInput() {
if (key == KB_KEY_KBD_BACKLIGHT) {
static bool kbdBacklightOn = false;
kbdBacklightOn = !kbdBacklightOn;
digitalWrite(KB_BL_PIN, kbdBacklightOn ? 255 : 0);
analogWrite(KB_BL_PIN, kbdBacklightOn ? 128 : 0);
Serial.printf("Keyboard backlight %s\n", kbdBacklightOn ? "ON" : "OFF");
return;
}