summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorDoomsdayrs <38189170+Doomsdayrs@users.noreply.github.com>2022-05-06 20:01:16 -0400
committerGitHub <noreply@github.com>2022-05-07 01:01:16 +0100
commit5acdb4c921cbe3d1b10f35fc46334c8df9fc4374 (patch)
treee8ade16d70b6cb8ff011e8a4aa0034305da94cbe /keyboards
parent8c23f87c5147f2a25784bc4501b40a5f7150b1f1 (diff)
Sol3 fix rgb map (#17019)
* Fix for key -> LED mapping * Revert whitespace changes * Revert whitespace changes 2 Co-authored-by: theVDude <rb.cubed@gmail.com>
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/rgbkb/sol3/rev1/rev1.c22
1 files changed, 12 insertions, 10 deletions
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
+};