mirror of
https://github.com/pelgraine/Meck.git
synced 2026-08-10 10:42:42 +02:00
max - reduced keyboard backlight brightness to 32
This commit is contained in:
@@ -4118,7 +4118,7 @@ void handleKeyboardInput() {
|
||||
if (key == KB_KEY_KBD_BACKLIGHT) {
|
||||
static bool kbdBacklightOn = false;
|
||||
kbdBacklightOn = !kbdBacklightOn;
|
||||
analogWrite(KB_BL_PIN, kbdBacklightOn ? 128 : 0);
|
||||
analogWrite(KB_BL_PIN, kbdBacklightOn ? 32 : 0);
|
||||
Serial.printf("Keyboard backlight %s\n", kbdBacklightOn ? "ON" : "OFF");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user