From 5acdb4c921cbe3d1b10f35fc46334c8df9fc4374 Mon Sep 17 00:00:00 2001 From: Doomsdayrs <38189170+Doomsdayrs@users.noreply.github.com> Date: Fri, 6 May 2022 20:01:16 -0400 Subject: Sol3 fix rgb map (#17019) * Fix for key -> LED mapping * Revert whitespace changes * Revert whitespace changes 2 Co-authored-by: theVDude --- keyboards/rgbkb/sol3/rev1/rev1.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'keyboards') diff --git a/keyboards/rgbkb/sol3/rev1/rev1.c b/keyboards/rgbkb/sol3/rev1/rev1.c index 5dc156c94d..c66e145e80 100644 --- a/keyboards/rgbkb/sol3/rev1/rev1.c +++ b/keyboards/rgbkb/sol3/rev1/rev1.c @@ -113,16 +113,18 @@ void matrix_slave_scan_kb() { #ifdef RGB_MATRIX_ENABLE // clang-format off led_config_t g_led_config = { { - { 41, 42, 43, 44, 45, 46, 47 }, - { 54, 53, 52, 51, 50, 49, 48 }, - { 55, 56, 57, 58, 59, 60, 61 }, - { 68, 67, 66, 65, 64, 63, 62 }, + { 41, 42, 43, 44, 45, 46, 47, NO_LED }, + { 54, 53, 52, 51, 50, 49, 48, NO_LED }, + { 55, 56, 57, 58, 59, 60, 61, NO_LED }, + { 68, 67, 66, 65, 64, 63, 62, NO_LED }, { 69, 70, 71, 72, 73, 74, 75, 76 }, - { 119, 120, 121, 122, 123, 124, 125 }, - { 132, 131, 130, 129, 128, 127, 126 }, - { 133, 134, 135, 136, 137, 138, 139 }, - { 146, 145, 144, 143, 142, 141, 140 }, - { 147, 148, 149, 150, 151, 152, 153 } + { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, + { 119, 120, 121, 122, 123, 124, 125, NO_LED }, + { 132, 131, 130, 129, 128, 127, 126, NO_LED }, + { 133, 134, 135, 136, 137, 138, 139, NO_LED }, + { 146, 145, 144, 143, 142, 141, 140, NO_LED }, + { 147, 148, 149, 150, 151, 152, 153, 154 }, + { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED } }, { // ALL XY VALUES DIVIDE BY 2, THEN ADD 5 { 1, 6 }, { 1, 13 }, { 1, 19 }, { 1, 25 }, { 1, 31 }, { 1, 37 }, { 1, 43 }, { 1, 49 }, { 4, 52 }, { 11, 52 }, { 17, 52 }, { 23, 52 }, { 29, 52 }, { 35, 52 }, { 41, 54 }, { 46, 57 }, { 52, 60 }, { 57, 63 }, { 62, 66 }, { 68, 69 }, @@ -284,4 +286,4 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { #endif } return true; -}; \ No newline at end of file +}; -- cgit v1.2.3