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>
master
Doomsdayrs 2022-05-06 20:01:16 -04:00 committed by GitHub
parent 8c23f87c51
commit 5acdb4c921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 10 deletions

View File

@ -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;
};
};