[Keyboard] launch_1 LED index correction (#17118)

This commit is contained in:
Albert Y 2022-05-20 13:44:08 +08:00 committed by GitHub
parent 94d89dfe82
commit 5591489747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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