diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2022-05-20 13:44:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 22:44:08 -0700 |
commit | 559148974764f296ed1ef06694dca29d20d8e162 (patch) | |
tree | 1751b55cefe2d8f922a4b08dcadb2433f39c4bcd /keyboards | |
parent | 94d89dfe82b6c631c69f041e211b7710b5a2f744 (diff) |
[Keyboard] launch_1 LED index correction (#17118)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/system76/launch_1/launch_1.c | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/keyboards/system76/launch_1/launch_1.c b/keyboards/system76/launch_1/launch_1.c index 0250b9d9cc..74288edf03 100644 --- a/keyboards/system76/launch_1/launch_1.c +++ b/keyboards/system76/launch_1/launch_1.c @@ -32,16 +32,22 @@ // 60 LI1 LH1 LG1 LF1 LE1 LD1 LC1 LB1 LA1 LA0 // 70 LB0 LC0 LD0 LE0 LF0 LG0 LH0 LI0 LJ0 LK0 // 80 LL0 LM0 LN0 LO0 -led_config_t g_led_config = { LAYOUT( +led_config_t g_led_config = { { // Key matrix to LED index - /* A B C D E F G H I J K L M N O */ -/* 0 */ 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, -/* 1 */ 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, -/* 2 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, -/* 3 */ 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, -/* 4 */ 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, -/* 5 */ 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 -), { +/* A B C D E F G H I J K L M N O */ +/* 0 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, */ +/* 1 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, */ +/* 2 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, */ +/* 3 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, */ +/* 4 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, */ +/* 5 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 */ + { 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82 }, + { 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55 }, + { 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52 }, + { 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 83 }, + { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 54 }, + { 13, 14, 15, 16, 17, 25, 18, 19, 20, 21, 22, 23, 24, 53 }, +}, { // LED index to physical position (see leds.sh in `launch' repo) /* 00 */ {209, 51}, {190, 51}, {171, 51}, {156, 51}, {140, 51}, {125, 51}, {110, 51}, {95, 51}, {80, 51}, {65, 51}, /* 10 */ {49, 51}, {34, 51}, {11, 51}, {8, 64}, {27, 64}, {42, 64}, {57, 64}, {80, 64}, {110, 64}, {133, 64}, |