keyboards/framework/ansi: Move LEDs under artwork

Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
Daniel Schaefer 2023-08-10 14:01:58 +08:00
parent 6ea4debb40
commit bc80535a49
2 changed files with 19 additions and 19 deletions

View File

@ -295,12 +295,12 @@ 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, 90, 30, NO_LED, NO_LED, 34, 81, 53, 67, },
{ 31, 73, 5, 84, NO_LED, 29, 33, 77, 75, 92, 78, NO_LED, 88, 79, 52, NO_LED, },
{NO_LED, NO_LED, NO_LED, 47, 94, 27, 35, 76, 90, 32, NO_LED, NO_LED, 34, 81, 56, 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, 70, NO_LED, NO_LED, },
{NO_LED, NO_LED, 16, NO_LED, 38, 41, 9, 14, 68, NO_LED, 22, NO_LED, NO_LED, 61, 62, NO_LED, },
{NO_LED, NO_LED, 15, NO_LED, 12, 13, 11, 10, 69, NO_LED, 17, NO_LED, NO_LED, 60, 64, NO_LED, },
{NO_LED, NO_LED, 16, NO_LED, 44, 41, 9, 14, 68, NO_LED, 22, NO_LED, NO_LED, 61, 62, NO_LED, },
{NO_LED, NO_LED, 15, NO_LED, 12, 13, 11, 10, 69, NO_LED, 17, NO_LED, NO_LED, 60, 65, NO_LED, },
{NO_LED, NO_LED, NO_LED, NO_LED, 18, 3, 4, 6, 66, NO_LED, 58, 89, NO_LED, 57, 54, NO_LED, },
{NO_LED, NO_LED, 36, NO_LED, NO_LED, 25, 43, 49, 51, NO_LED, 50, NO_LED, NO_LED, 48, 37, NO_LED, },
}, {

View File

@ -54,8 +54,8 @@ ansi = [
{ "id": "67", "x":935, "y": 158, "matrix": (8,6) }, # PrtScr
{ "id": "72", "x":960, "y": 158 }, # PrtScr
{ "id": "71", "x":1022, "y": 154, "matrix": (13,3) },# F12
{ "id": "73", "x":1088, "y": 160, "matrix": (1,0) }, # Del
{ "id": "74", "x":1135, "y": 160 }, # Del
{ "id": "73", "x":1088, "y": 160 }, # Del
{ "id": "74", "x":1135, "y": 160, "matrix": (1,0) },# Del
# Second row
{ "id": "17", "x":97, "y": 216, "matrix": (2,4) }, # Each 75 apart in x
@ -72,8 +72,8 @@ ansi = [
{ "id": "64", "x":922, "y": 216, "matrix": (13,2) },
{ "id": "63", "x":997, "y": 216, "matrix": (14,4) },
{ "id": "65", "x":1067, "y": 224, "matrix": (14,5) }, # Backspace
{ "id": "66", "x":1128, "y": 224 }, # Backspace
{ "id": "65", "x":1067, "y": 224 }, # Backspace
{ "id": "66", "x":1128, "y": 224, "matrix": (14,5) }, # Backspace
# Third row
{ "id": "2", "x":90, "y": 298, "matrix": (2,3) }, # Tab
@ -95,9 +95,9 @@ ansi = [
{ "id": "56", "x":1115, "y": 292, "matrix": (8,2) },
# Forth row
{ "id": "45", "x":94, "y": 374 }, # Caps
{ "id": "39", "x":123, "y": 367, "matrix": (4,4) }, # Caps
{ "id": "43", "x":150, "y": 374 }, # Caps
{ "id": "45", "x":94, "y": 374, "matrix": (4,4) }, # Caps
{ "id": "39", "x":123, "y": 367 }, # Caps
{ "id": "43", "x":150, "y": 374 }, # Caps
{ "id": "37", "x":227, "y": 365, "matrix": (2,7) }, # Each 75 apart in x
{ "id": "42", "x":302, "y": 365, "matrix": (5,4) },
@ -111,12 +111,12 @@ ansi = [
{ "id": "49", "x":902, "y": 365, "matrix": (13,7) },
{ "id": "53", "x":977, "y": 365, "matrix": (14,0) },
{ "id": "54", "x":1050, "y": 365, "matrix": (14,1) }, # Enter
{ "id": "57", "x":1131, "y": 373 }, # Enter
{ "id": "54", "x":1050, "y": 365 }, # Enter
{ "id": "57", "x":1131, "y": 373, "matrix": (14,1) }, # Enter
# Fifth row
{ "id": "33", "x":91, "y": 448 }, # Shift
{ "id": "31", "x":113, "y": 448, "matrix": (9,1) }, # Shift
{ "id": "33", "x":91, "y": 448, "matrix": (9,1) }, # Shift
{ "id": "31", "x":113, "y": 448 }, # Shift
{ "id": "29", "x":191, "y": 440 }, # Shift
{ "id": "28", "x":266, "y": 440, "matrix": (5,1) }, # Each 75 apart in x
@ -131,9 +131,9 @@ ansi = [
{ "id": "80", "x":941, "y": 440, "matrix": (13,0) },
{ "id": "81", "x":1013, "y": 445 }, # Shift
{ "id": "83", "x":1041, "y": 445, "matrix": (9,0) }, # Shift
{ "id": "83", "x":1041, "y": 445 }, # Shift
{ "id": "84", "x":1106, "y": 445 }, # Shift
{ "id": "93", "x":1127, "y": 445 }, # Shift
{ "id": "93", "x":1127, "y": 445, "matrix": (9,0) }, # Shift
# Sixth row
{ "id": "35", "x":89, "y": 522, "matrix": (12,1) }, # CTRL
@ -141,9 +141,9 @@ ansi = [
{ "id": "94", "x":191, "y": 515, "matrix": (2,2) },
{ "id": "47", "x":266, "y": 515, "matrix": (1,3) },
{ "id": "48", "x":341, "y": 515, "matrix": (3,1) },
{ "id": "95", "x":415, "y": 522 }, # Space
{ "id": "95", "x":415, "y": 522, "matrix": (4,1) }, # Space
{ "id": "96", "x":475, "y": 522 }, # Space
{ "id": "97", "x":535, "y": 522, "matrix": (4,1) }, # Space
{ "id": "97", "x":535, "y": 522 }, # Space
{ "id": "86", "x":595, "y": 522 }, # Space
{ "id": "87", "x":655, "y": 522 }, # Space
{ "id": "88", "x":715, "y": 522 }, # Space