From 5ace91966cc7b8df532f4ee3cee3c5bc5c414cca Mon Sep 17 00:00:00 2001 From: Jeremy Engel <4955347+jeremy-engel@users.noreply.github.com> Date: Thu, 22 Feb 2024 14:17:47 -0800 Subject: [PATCH 1/2] Use expected LED indices for host and battery indicators --- keyboards/keychron/q2_pro/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/keychron/q2_pro/config.h b/keyboards/keychron/q2_pro/config.h index fef8025b2e..e168da84b3 100644 --- a/keyboards/keychron/q2_pro/config.h +++ b/keyboards/keychron/q2_pro/config.h @@ -47,10 +47,10 @@ # define LED_DRIVER_SHUTDOWN_PIN C14 # define HOST_LED_MATRIX_LIST \ - { 16, 17, 18 } + { 15, 16, 17 } # define BAT_LEVEL_LED_LIST \ - { 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } + { 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 } /* Backlit disable timeout when keyboard is disconnected(unit: second) */ # define DISCONNECTED_BACKLIGHT_DISABLE_TIMEOUT 40 From c1ef96df3ec6fa3728080333765403e4487f53f9 Mon Sep 17 00:00:00 2001 From: Jeremy Engel <4955347+jeremy-engel@users.noreply.github.com> Date: Thu, 29 Feb 2024 08:15:11 -0800 Subject: [PATCH 2/2] Use digits to indicate battery level Co-authored-by: lokher --- keyboards/keychron/q2_pro/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/keychron/q2_pro/config.h b/keyboards/keychron/q2_pro/config.h index e168da84b3..cf5b2ffbeb 100644 --- a/keyboards/keychron/q2_pro/config.h +++ b/keyboards/keychron/q2_pro/config.h @@ -50,7 +50,7 @@ { 15, 16, 17 } # define BAT_LEVEL_LED_LIST \ - { 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 } + { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} /* Backlit disable timeout when keyboard is disconnected(unit: second) */ # define DISCONNECTED_BACKLIGHT_DISABLE_TIMEOUT 40