From 8fbee5a5114bb51273bedb2710efbbc60f455612 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Thu, 2 Mar 2023 15:29:41 +0800 Subject: [PATCH] lotus: Swap LED of Up and Down key They were incorrectly swapped. Signed-off-by: Daniel Schaefer --- keyboards/lotus/ansi/ansi.c | 2 +- keyboards/lotus/led.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/lotus/ansi/ansi.c b/keyboards/lotus/ansi/ansi.c index 0b781964df..238ea7bcdb 100644 --- a/keyboards/lotus/ansi/ansi.c +++ b/keyboards/lotus/ansi/ansi.c @@ -296,7 +296,7 @@ const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { led_config_t g_led_config = { { // Key Matrix to LED Index { 31, 72, 5, 84, NO_LED, 29, 33, 77, 75, 82, 78, NO_LED, 88, 79, 52, NO_LED, }, - {NO_LED, NO_LED, NO_LED, 47, 96, 27, 35, 76, 81, 30, NO_LED, NO_LED, 34, 90, 53, 67, }, + {NO_LED, NO_LED, NO_LED, 47, 96, 27, 35, 76, 90, 30, NO_LED, NO_LED, 34, 81, 53, 67, }, {NO_LED, NO_LED, 93, NO_LED, 2, 19, 39, 40, 55, NO_LED, 26, NO_LED, NO_LED, 63, NO_LED, 91, }, {NO_LED, 46, 1, NO_LED, 20, 21, 7, 8, 59, NO_LED, 24, 74, NO_LED, NO_LED, NO_LED, 70, }, {NO_LED, NO_LED, 16, NO_LED, 38, 41, 9, 14, 68, NO_LED, 22, NO_LED, NO_LED, 61, 62, NO_LED, }, diff --git a/keyboards/lotus/led.py b/keyboards/lotus/led.py index 8d8864b90a..80ff40c4a6 100755 --- a/keyboards/lotus/led.py +++ b/keyboards/lotus/led.py @@ -150,8 +150,8 @@ ansi = [ { "id": "85", "x":791, "y": 515, "matrix": (3,0) }, { "id": "89", "x":865, "y": 515, "matrix": (12,0) }, { "id": "90", "x":945, "y": 542, "matrix": (11,6) }, - { "id": "91", "x":1033, "y": 534, "matrix": (13,1) }, - { "id": "82", "x":1033, "y": 510, "matrix": (8,1) }, + { "id": "91", "x":1033, "y": 534, "matrix": (8,1) }, # Down + { "id": "82", "x":1033, "y": 510, "matrix": (13,1) }, # Up { "id": "92", "x":1120, "y": 542, "matrix": (15,2) }, ]