lotus: Fix gridpad key to led mapping

Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
Daniel Schaefer 2023-01-31 17:25:06 +08:00
parent 637fce7232
commit 18a3d40a62
2 changed files with 3 additions and 3 deletions

View File

@ -45,8 +45,8 @@ const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = {
led_config_t g_led_config = { {
// Key Matrix to LED Index
{ 4, 7, 6, 9, 0, 1, 3, 11, },
{ 8, 20, 21, 23, 15, 16, 18, 19, },
{ 12, 5, 2, NO_LED, 17, NO_LED, 13, 10, },
{ 8, 20, 21, 23, 15, 14, 18, 19, },
{ 12, 5, 2, NO_LED, 17, 16, 13, 10, },
{NO_LED, NO_LED, NO_LED, NO_LED, 22, NO_LED, NO_LED, NO_LED, },
}, {
// LED Index to Physical Position

View File

@ -169,7 +169,7 @@ gridpad = [
{ "id": "8", "x":1332, "y": 294, "matrix": (1,0) },
{ "id": "2", "x":1395, "y": 294, "matrix": (5,0) },
{ "id": "22", "x":1460, "y": 294, "matrix": (2,1) },
{ "id": "17", "x":1523, "y": 294, "matrix": (5,1) },
{ "id": "17", "x":1523, "y": 294, "matrix": (5,2) },
{ "id": "7", "x":1332, "y": 368, "matrix": (2,0) },
{ "id": "4", "x":1395, "y": 368, "matrix": (6,0) },