From b8ad5f4249e0b01772905515664c8961d3db0787 Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Sat, 13 Mar 2021 05:47:45 +0800 Subject: [PATCH] Document LED physical location index for Planck and Preonic (#12147) Co-authored-by: filterpaper --- keyboards/planck/rev6/rev6.c | 5 +++++ keyboards/preonic/rev3/rev3.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/keyboards/planck/rev6/rev6.c b/keyboards/planck/rev6/rev6.c index 25c7351c7f..3074f8c20f 100644 --- a/keyboards/planck/rev6/rev6.c +++ b/keyboards/planck/rev6/rev6.c @@ -34,6 +34,11 @@ led_config_t g_led_config = { { LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL } }; + +// LED physical location index +// 6 5 4 3 +// 0 +// 7 8 1 2 #endif void matrix_init_kb(void) { diff --git a/keyboards/preonic/rev3/rev3.c b/keyboards/preonic/rev3/rev3.c index a8bfd8bdb5..161c1c9636 100644 --- a/keyboards/preonic/rev3/rev3.c +++ b/keyboards/preonic/rev3/rev3.c @@ -36,6 +36,11 @@ led_config_t g_led_config = { { LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL } }; + +// LED physical location index +// 6 5 4 3 +// 0 +// 7 8 1 2 #endif void matrix_init_kb(void) {