Skip to content

Commit

Permalink
Strip decimals from RGB Matrix layout positions (#23943)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Jun 17, 2024
1 parent 4864d5a commit 3f44231
Show file tree
Hide file tree
Showing 15 changed files with 429 additions and 429 deletions.
6 changes: 3 additions & 3 deletions keyboards/cipulot/ec_980c/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
},
"driver": "ws2812",
"layout": [
{"matrix": [0, 15], "x": 16.25, "y": 1, "flags": 4},
{"matrix": [0, 16], "x": 17.25, "y": 1, "flags": 4},
{"matrix": [0, 17], "x": 18.25, "y": 1, "flags": 4}
{"matrix": [0, 15], "x": 16, "y": 1, "flags": 4},
{"matrix": [0, 16], "x": 17, "y": 1, "flags": 4},
{"matrix": [0, 17], "x": 18, "y": 1, "flags": 4}
],
"led_count": 3,
"max_brightness": 255
Expand Down
54 changes: 27 additions & 27 deletions keyboards/darkproject/kd87a_bfg_edition/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,41 +139,41 @@
{ "flags": 4, "matrix": [2, 5], "x": 175, "y": 25 },

{ "flags": 8, "matrix": [2, 1], "x": 0, "y": 35 },
{ "flags": 4, "matrix": [1, 2], "x": 17.5, "y": 35 },
{ "flags": 4, "matrix": [2, 2], "x": 27.5, "y": 35 },
{ "flags": 4, "matrix": [3, 2], "x": 37.5, "y": 35 },
{ "flags": 4, "matrix": [4, 2], "x": 47.5, "y": 35 },
{ "flags": 4, "matrix": [4, 3], "x": 57.5, "y": 35 },
{ "flags": 4, "matrix": [5, 3], "x": 67.5, "y": 35 },
{ "flags": 4, "matrix": [5, 2], "x": 77.5, "y": 35 },
{ "flags": 4, "matrix": [6, 2], "x": 87.5, "y": 35 },
{ "flags": 4, "matrix": [7, 2], "x": 97.5, "y": 35 },
{ "flags": 4, "matrix": [8, 2], "x": 107.5, "y": 35 },
{ "flags": 4, "matrix": [8, 3], "x": 117.5, "y": 35 },
{ "flags": 4, "matrix": [10, 4], "x": 127.5, "y": 35 },
{ "flags": 4, "matrix": [1, 2], "x": 17, "y": 35 },
{ "flags": 4, "matrix": [2, 2], "x": 27, "y": 35 },
{ "flags": 4, "matrix": [3, 2], "x": 37, "y": 35 },
{ "flags": 4, "matrix": [4, 2], "x": 47, "y": 35 },
{ "flags": 4, "matrix": [4, 3], "x": 57, "y": 35 },
{ "flags": 4, "matrix": [5, 3], "x": 67, "y": 35 },
{ "flags": 4, "matrix": [5, 2], "x": 77, "y": 35 },
{ "flags": 4, "matrix": [6, 2], "x": 87, "y": 35 },
{ "flags": 4, "matrix": [7, 2], "x": 97, "y": 35 },
{ "flags": 4, "matrix": [8, 2], "x": 107, "y": 35 },
{ "flags": 4, "matrix": [8, 3], "x": 117, "y": 35 },
{ "flags": 4, "matrix": [10, 4], "x": 127, "y": 35 },

{ "flags": 4, "matrix": [0, 0], "x": 0, "y": 45 },
{ "flags": 4, "matrix": [1, 4], "x": 22.5, "y": 45 },
{ "flags": 4, "matrix": [2, 4], "x": 32.5, "y": 45 },
{ "flags": 4, "matrix": [3, 4], "x": 42.5, "y": 45 },
{ "flags": 4, "matrix": [4, 4], "x": 52.5, "y": 45 },
{ "flags": 4, "matrix": [4, 5], "x": 62.5, "y": 45 },
{ "flags": 4, "matrix": [5, 5], "x": 72.5, "y": 45 },
{ "flags": 4, "matrix": [5, 4], "x": 82.5, "y": 45 },
{ "flags": 4, "matrix": [6, 4], "x": 92.5, "y": 45 },
{ "flags": 4, "matrix": [7, 4], "x": 102.5, "y": 45 },
{ "flags": 4, "matrix": [8, 5], "x": 112.5, "y": 45 },
{ "flags": 4, "matrix": [9, 1], "x": 122.5, "y": 45 },
{ "flags": 4, "matrix": [1, 4], "x": 22, "y": 45 },
{ "flags": 4, "matrix": [2, 4], "x": 32, "y": 45 },
{ "flags": 4, "matrix": [3, 4], "x": 42, "y": 45 },
{ "flags": 4, "matrix": [4, 4], "x": 52, "y": 45 },
{ "flags": 4, "matrix": [4, 5], "x": 62, "y": 45 },
{ "flags": 4, "matrix": [5, 5], "x": 72, "y": 45 },
{ "flags": 4, "matrix": [5, 4], "x": 82, "y": 45 },
{ "flags": 4, "matrix": [6, 4], "x": 92, "y": 45 },
{ "flags": 4, "matrix": [7, 4], "x": 102, "y": 45 },
{ "flags": 4, "matrix": [8, 5], "x": 112, "y": 45 },
{ "flags": 4, "matrix": [9, 1], "x": 122, "y": 45 },
{ "flags": 4, "matrix": [3, 5], "x": 165, "y": 45 },

{ "flags": 4, "matrix": [0, 6], "x": 0, "y": 55 },
{ "flags": 4, "matrix": [9, 0], "x": 12.5, "y": 55 },
{ "flags": 4, "matrix": [9, 0], "x": 12, "y": 55 },
{ "flags": 4, "matrix": [9, 3], "x": 25, "y": 55 },
{ "flags": 4, "matrix": [9, 4], "x": 37.5, "y": 55 },
{ "flags": 4, "matrix": [9, 4], "x": 37, "y": 55 },
{ "flags": 4, "matrix": [9, 5], "x": 100, "y": 55 },
{ "flags": 4, "matrix": [9, 2], "x": 112.5, "y": 55 },
{ "flags": 4, "matrix": [9, 2], "x": 112, "y": 55 },
{ "flags": 4, "matrix": [8, 4], "x": 125, "y": 55 },
{ "flags": 4, "matrix": [0, 4], "x": 137.5, "y": 55 },
{ "flags": 4, "matrix": [0, 4], "x": 137, "y": 55 },
{ "flags": 4, "matrix": [0, 3], "x": 155, "y": 55 },
{ "flags": 4, "matrix": [7, 3], "x": 165, "y": 55 },
{ "flags": 4, "matrix": [0, 5], "x": 175, "y": 55 }
Expand Down
76 changes: 38 additions & 38 deletions keyboards/doio/kb38/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,54 +48,54 @@
"driver": "ws2812",
"layout": [
{"flags": 4, "matrix": [0, 0], "x": 0, "y": 0},
{"flags": 4, "matrix": [0, 1], "x": 62.2, "y": 0},
{"flags": 4, "matrix": [0, 2], "x": 99.6, "y": 0},
{"flags": 4, "matrix": [0, 3], "x": 124.4, "y": 0},
{"flags": 4, "matrix": [0, 4], "x": 149.3, "y": 0},
{"flags": 4, "matrix": [0, 5], "x": 174.2, "y": 0},
{"flags": 4, "matrix": [0, 6], "x": 199.1, "y": 0},
{"flags": 4, "matrix": [0, 1], "x": 62, "y": 0},
{"flags": 4, "matrix": [0, 2], "x": 99, "y": 0},
{"flags": 4, "matrix": [0, 3], "x": 124, "y": 0},
{"flags": 4, "matrix": [0, 4], "x": 149, "y": 0},
{"flags": 4, "matrix": [0, 5], "x": 174, "y": 0},
{"flags": 4, "matrix": [0, 6], "x": 199, "y": 0},
{"flags": 4, "matrix": [0, 7], "x": 224, "y": 0},

{"flags": 4, "matrix": [1, 0], "x": 0, "y": 12.8},
{"flags": 4, "matrix": [1, 1], "x": 24.9, "y": 12.8},
{"flags": 4, "matrix": [1, 2], "x": 49.8, "y": 12.8},
{"flags": 4, "matrix": [1, 3], "x": 74.6, "y": 12.8},
{"flags": 4, "matrix": [1, 4], "x": 99.6, "y": 12.8},
{"flags": 4, "matrix": [1, 5], "x": 124.4, "y": 12.8},
{"flags": 4, "matrix": [1, 6], "x": 149.3, "y": 12.8},
{"flags": 4, "matrix": [1, 0], "x": 0, "y": 12},
{"flags": 4, "matrix": [1, 1], "x": 24, "y": 12},
{"flags": 4, "matrix": [1, 2], "x": 49, "y": 12},
{"flags": 4, "matrix": [1, 3], "x": 74, "y": 12},
{"flags": 4, "matrix": [1, 4], "x": 99, "y": 12},
{"flags": 4, "matrix": [1, 5], "x": 124, "y": 12},
{"flags": 4, "matrix": [1, 6], "x": 149, "y": 12},

{"flags": 4, "matrix": [2, 0], "x": 0, "y": 25.6},
{"flags": 4, "matrix": [2, 1], "x": 24.9, "y": 25.6},
{"flags": 4, "matrix": [2, 2], "x": 49.8, "y": 25.6},
{"flags": 4, "matrix": [2, 3], "x": 74.6, "y": 32},
{"flags": 4, "matrix": [2, 4], "x": 90, "y": 25.6},
{"flags": 4, "matrix": [2, 5], "x": 124.4, "y": 25.6},
{"flags": 4, "matrix": [2, 6], "x": 149.3, "y": 25.6},
{"flags": 4, "matrix": [2, 0], "x": 0, "y": 25},
{"flags": 4, "matrix": [2, 1], "x": 24, "y": 25},
{"flags": 4, "matrix": [2, 2], "x": 49, "y": 25},
{"flags": 4, "matrix": [2, 3], "x": 74, "y": 32},
{"flags": 4, "matrix": [2, 4], "x": 90, "y": 25},
{"flags": 4, "matrix": [2, 5], "x": 124, "y": 25},
{"flags": 4, "matrix": [2, 6], "x": 149, "y": 25},

{"flags": 4, "matrix": [3, 0], "x": 0, "y": 38.4},
{"flags": 4, "matrix": [3, 1], "x": 24.9, "y": 38.4},
{"flags": 4, "matrix": [3, 2], "x": 49.8, "y": 38.4},
{"flags": 4, "matrix": [3, 3], "x": 99.6, "y": 38.4},
{"flags": 4, "matrix": [3, 4], "x": 124.4, "y": 38.4},
{"flags": 4, "matrix": [3, 5], "x": 149.3, "y": 38.4},
{"flags": 4, "matrix": [3, 0], "x": 0, "y": 38},
{"flags": 4, "matrix": [3, 1], "x": 24, "y": 38},
{"flags": 4, "matrix": [3, 2], "x": 49, "y": 38},
{"flags": 4, "matrix": [3, 3], "x": 99, "y": 38},
{"flags": 4, "matrix": [3, 4], "x": 124, "y": 38},
{"flags": 4, "matrix": [3, 5], "x": 149, "y": 38},

{"flags": 4, "matrix": [4, 0], "x": 0, "y": 51.2},
{"flags": 4, "matrix": [4, 1], "x": 24.9, "y": 51.2},
{"flags": 4, "matrix": [4, 2], "x": 49.8, "y": 51.2},
{"flags": 4, "matrix": [4, 3], "x": 74.6, "y": 57.6},
{"flags": 4, "matrix": [4, 5], "x": 124.4, "y": 51.2},
{"flags": 4, "matrix": [4, 0], "x": 0, "y": 51},
{"flags": 4, "matrix": [4, 1], "x": 24, "y": 51},
{"flags": 4, "matrix": [4, 2], "x": 49, "y": 51},
{"flags": 4, "matrix": [4, 3], "x": 74, "y": 57},
{"flags": 4, "matrix": [4, 5], "x": 124, "y": 51},

{"flags": 4, "matrix": [5, 0], "x": 12.5, "y": 64},
{"flags": 4, "matrix": [5, 1], "x": 49.8, "y": 64},
{"flags": 4, "matrix": [5, 2], "x": 99.6, "y": 64},
{"flags": 4, "matrix": [5, 3], "x": 124.4, "y": 64},
{"flags": 4, "matrix": [5, 4], "x": 149.3, "y": 64},
{"flags": 4, "matrix": [5, 0], "x": 12, "y": 64},
{"flags": 4, "matrix": [5, 1], "x": 49, "y": 64},
{"flags": 4, "matrix": [5, 2], "x": 99, "y": 64},
{"flags": 4, "matrix": [5, 3], "x": 124, "y": 64},
{"flags": 4, "matrix": [5, 4], "x": 149, "y": 64},

{"flags": 2, "x": 224, "y": 64},
{"flags": 2, "x": 74.6, "y": 64},
{"flags": 2, "x": 74, "y": 64},
{"flags": 2, "x": 0, "y": 64},
{"flags": 2, "x": 0, "y": 0},
{"flags": 2, "x": 74.6, "y": 0},
{"flags": 2, "x": 74, "y": 0},
{"flags": 2, "x": 224, "y": 0}
],
"max_brightness": 200,
Expand Down
4 changes: 2 additions & 2 deletions keyboards/handwired/alcor_dactyl/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"rgb_matrix": {
"driver": "ws2812",
"layout": [
{"x": 0, "y": 0.375},
{"x": 16.5, "y": 0.38}
{"x": 0, "y": 0},
{"x": 16, "y": 0}
],
"split_count": [1, 1]
},
Expand Down
20 changes: 10 additions & 10 deletions keyboards/input_club/k_type/k_type.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,19 +166,19 @@ led_config_t g_led_config = {
}, {
// LED Index to Physical Position
// Key LED
{ 0, 0 }, { 26.35, 0 }, { 39.53, 0 }, { 52.71, 0 }, { 65.88, 0 }, { 79.06, 0 }, { 92.24, 0 }, { 105.41, 0 }, { 118.59, 0 }, { 131.77, 0 }, { 144.94, 0 }, { 158.12, 0 }, { 171.29, 0 }, { 197.65, 0 }, { 210.82, 0 }, { 224, 0 },
{ 0, 0 }, { 26, 0 }, { 39, 0 }, { 52, 0 }, { 65, 0 }, { 79, 0 }, { 92, 0 }, { 105, 0 }, { 118, 0 }, { 131, 0 }, { 144, 0 }, { 158, 0 }, { 171, 0 }, { 197, 0 }, { 210, 0 }, { 224, 0 },

{ 0, 21.33 }, { 13.18, 21.33 }, { 26.35, 21.33 }, { 39.53, 21.33 }, { 52.71, 21.33 }, { 65.88, 21.33 }, { 79.06, 21.33 }, { 92.24, 21.33 }, { 105.41, 21.33 }, { 118.59, 21.33 }, { 131.77, 21.33 }, { 144.94, 21.33 }, { 158.12, 21.33 }, { 171.29, 21.33 }, { 197.65, 21.33 }, { 210.82, 21.33 }, { 224, 21.33 },
{ 0, 32 }, { 13.18, 32 }, { 26.35, 32 }, { 39.53, 32 }, { 52.71, 32 }, { 65.88, 32 }, { 79.06, 32 }, { 92.24, 32 }, { 105.41, 32 }, { 118.59, 32 }, { 131.77, 32 }, { 144.94, 32 }, { 158.12, 32 }, { 171.29, 32 }, { 197.65, 32 }, { 210.82, 32 }, { 224, 32 },
{ 0, 42.67 }, { 13.18, 42.67 }, { 26.35, 42.67 }, { 39.53, 42.67 }, { 52.71, 42.67 }, { 65.88, 42.67 }, { 79.06, 42.67 }, { 92.24, 42.67 }, { 105.41, 42.67 }, { 118.59, 42.67 }, { 131.77, 42.67 }, { 144.94, 42.67 }, { 171.29, 42.67 },
{ 0, 53.33 }, { 26.35, 53.33 }, { 39.53, 53.33 }, { 52.71, 53.33 }, { 65.88, 53.33 }, { 79.06, 53.33 }, { 92.24, 53.33 }, { 105.41, 53.33 }, { 118.59, 53.33 }, { 131.77, 53.33 }, { 144.94, 53.33 }, { 171.29, 53.33 }, { 210.82, 53.33 },
{ 0, 64 }, { 13.18, 64 }, { 26.35, 64 }, { 79.06, 64 }, { 131.77, 64 }, { 144.94, 64 }, { 158.12, 64 }, { 171.29, 64 }, { 197.65, 64 }, { 210.82, 64 }, { 224, 64 },
{ 0, 21 }, { 13, 21 }, { 26, 21 }, { 39, 21 }, { 52, 21 }, { 65, 21 }, { 79, 21 }, { 92, 21 }, { 105, 21 }, { 118, 21 }, { 131, 21 }, { 144, 21 }, { 158, 21 }, { 171, 21 }, { 197, 21 }, { 210, 21 }, { 224, 21 },
{ 0, 32 }, { 13, 32 }, { 26, 32 }, { 39, 32 }, { 52, 32 }, { 65, 32 }, { 79, 32 }, { 92, 32 }, { 105, 32 }, { 118, 32 }, { 131, 32 }, { 144, 32 }, { 158, 32 }, { 171, 32 }, { 197, 32 }, { 210, 32 }, { 224, 32 },
{ 0, 42 }, { 13, 42 }, { 26, 42 }, { 39, 42 }, { 52, 42 }, { 65, 42 }, { 79, 42 }, { 92, 42 }, { 105, 42 }, { 118, 42 }, { 131, 42 }, { 144, 42 }, { 171, 42 },
{ 0, 53 }, { 26, 53 }, { 39, 53 }, { 52, 53 }, { 65, 53 }, { 79, 53 }, { 92, 53 }, { 105, 53 }, { 118, 53 }, { 131, 53 }, { 144, 53 }, { 171, 53 }, { 210, 53 },
{ 0, 64 }, { 13, 64 }, { 26, 64 }, { 79, 64 }, { 131, 64 }, { 144, 64 }, { 158, 64 }, { 171, 64 }, { 197, 64 }, { 210, 64 }, { 224, 64 },

// Underglow LED
{ 224, 64 }, { 206.77, 64 }, { 189.54, 64 }, { 172.31, 64 }, { 155.08, 64 }, { 137.85, 64 }, { 120.61, 64 }, { 103.38, 64 }, { 86.15, 64 }, { 68.92, 64 }, { 51.69, 64 }, { 34.46, 64 }, { 17.23, 64 }, { 0, 64 },
{ 0, 42.67 }, { 0, 21.33 },
{ 0, 0 }, { 17.23, 0 }, { 34.46, 0 }, { 51.69, 0 }, { 68.92, 0 }, { 86.15, 0 }, { 103.38, 0 }, { 120.61, 0 }, { 137.85, 0 }, { 155.08, 0 }, { 172.31, 0 }, { 189.54, 0 }, { 206.77, 0 }, { 224, 0 },
{ 224, 21.33 }, { 224, 42.67 }
{ 224, 64 }, { 206, 64 }, { 189, 64 }, { 172, 64 }, { 155, 64 }, { 137, 64 }, { 120, 64 }, { 103, 64 }, { 86, 64 }, { 68, 64 }, { 51, 64 }, { 34, 64 }, { 17, 64 }, { 0, 64 },
{ 0, 42 }, { 0, 21 },
{ 0, 0 }, { 17, 0 }, { 34, 0 }, { 51, 0 }, { 68, 0 }, { 86, 0 }, { 103, 0 }, { 120, 0 }, { 137, 0 }, { 155, 0 }, { 172, 0 }, { 189, 0 }, { 206, 0 }, { 224, 0 },
{ 224, 21 }, { 224, 42 }
}, {
// LED Index to Flag
//Key LED
Expand Down
8 changes: 4 additions & 4 deletions keyboards/kbdfans/kbd75rgb/kbd75rgb.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ led_config_t g_led_config = { {
{ 83, 82, 81, NO_LED, NO_LED, 80, NO_LED, NO_LED, 79, 78, 77, 76, NO_LED,75 ,74}
}, {
{0, 0}, {15, 0}, {30, 0},{45, 0}, {60, 0}, {75, 0}, {90, 0}, {105, 0}, {120, 0}, {135, 0}, {150, 0}, {165, 0}, {180, 0}, {195, 0}, {210, 0}, {224, 0},
{224, 12.8}, {218, 12.8},{192, 12.8},{176, 12.8},{160, 12.8},{144, 12.8},{128, 12.8},{112, 12.8},{96, 12.8},{80, 12.8},{64, 12.8},{48, 12.8},{32, 12.8},{16, 12.8},{0, 12.8},
{0, 25.6},{16, 25.6}, {32, 25.6}, {48, 25.6}, {64, 25.6}, {80, 25.6}, {96, 25.6}, {112, 25.6}, {128, 25.6}, {144, 25.6}, {160, 25.6},{176, 25.6}, {192, 25.6}, {218, 25.6}, {224, 25.6},
{224, 38.4},{200, 38.4},{176, 38.4},{160, 38.4},{144, 38.4},{128, 38.4},{112, 38.4},{96, 38.4},{80, 38.4},{64, 38.4},{48, 38.4},{32, 38.4},{16, 38.4},{0, 38.4},
{0, 51.2},{16, 51.2}, {32, 51.2}, {48, 51.2}, {64, 51.2}, {80, 51.2}, {96, 51.2}, {112, 51.2}, {128, 51.2}, {144, 51.2}, {160, 51.2}, {189, 51.2}, {218, 51.2}, {224, 51.2},
{224, 12}, {218, 12},{192, 12},{176, 12},{160, 12},{144, 12},{128, 12},{112, 12},{96, 12},{80, 12},{64, 12},{48, 12},{32, 12},{16, 12},{0, 12},
{0, 25},{16, 25}, {32, 25}, {48, 25}, {64, 25}, {80, 25}, {96, 25}, {112, 25}, {128, 25}, {144, 25}, {160, 25},{176, 25}, {192, 25}, {218, 25}, {224, 25},
{224, 38},{200, 38},{176, 38},{160, 38},{144, 38},{128, 38},{112, 38},{96, 38},{80, 38},{64, 38},{48, 38},{32, 38},{16, 38},{0, 38},
{0, 51},{16, 51}, {32, 51}, {48, 51}, {64, 51}, {80, 51}, {96, 51}, {112, 51}, {128, 51}, {144, 51}, {160, 51}, {189, 51}, {218, 51}, {224, 51},
{224, 64},{218, 64},{192, 64},{176, 64},{160, 64},{144, 64}, {80, 64}, {32, 64},{16, 64},{0, 64}
}, {
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
Expand Down
30 changes: 15 additions & 15 deletions keyboards/kbdfans/kbdpad/mk3/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,23 @@
{"flags": 4, "matrix": [0, 1], "x": 75, "y": 0},
{"flags": 4, "matrix": [0, 2], "x": 150, "y": 0},
{"flags": 4, "matrix": [0, 3], "x": 224, "y": 0},
{"flags": 4, "matrix": [1, 3], "x": 224, "y": 12.8},
{"flags": 4, "matrix": [1, 2], "x": 150, "y": 12.8},
{"flags": 4, "matrix": [1, 1], "x": 75, "y": 12.8},
{"flags": 4, "matrix": [1, 0], "x": 0, "y": 12.8},
{"flags": 4, "matrix": [2, 0], "x": 0, "y": 25.6},
{"flags": 4, "matrix": [2, 1], "x": 75, "y": 25.6},
{"flags": 4, "matrix": [2, 2], "x": 150, "y": 25.6},
{"flags": 4, "matrix": [1, 3], "x": 224, "y": 12},
{"flags": 4, "matrix": [1, 2], "x": 150, "y": 12},
{"flags": 4, "matrix": [1, 1], "x": 75, "y": 12},
{"flags": 4, "matrix": [1, 0], "x": 0, "y": 12},
{"flags": 4, "matrix": [2, 0], "x": 0, "y": 25},
{"flags": 4, "matrix": [2, 1], "x": 75, "y": 25},
{"flags": 4, "matrix": [2, 2], "x": 150, "y": 25},
{"flags": 4, "matrix": [2, 3], "x": 224, "y": 32},
{"flags": 4, "matrix": [3, 2], "x": 150, "y": 38.4},
{"flags": 4, "matrix": [3, 1], "x": 75, "y": 38.4},
{"flags": 4, "matrix": [3, 0], "x": 0, "y": 38.4},
{"flags": 4, "matrix": [4, 0], "x": 0, "y": 51.2},
{"flags": 4, "matrix": [4, 1], "x": 75, "y": 51.2},
{"flags": 4, "matrix": [4, 2], "x": 150, "y": 51.24},
{"flags": 4, "matrix": [4, 3], "x": 224, "y": 57.6},
{"flags": 4, "matrix": [3, 2], "x": 150, "y": 38},
{"flags": 4, "matrix": [3, 1], "x": 75, "y": 38},
{"flags": 4, "matrix": [3, 0], "x": 0, "y": 38},
{"flags": 4, "matrix": [4, 0], "x": 0, "y": 51},
{"flags": 4, "matrix": [4, 1], "x": 75, "y": 51},
{"flags": 4, "matrix": [4, 2], "x": 150, "y": 51},
{"flags": 4, "matrix": [4, 3], "x": 224, "y": 57},
{"flags": 4, "matrix": [5, 2], "x": 150, "y": 64},
{"flags": 4, "matrix": [5, 0], "x": 37.5, "y": 64}
{"flags": 4, "matrix": [5, 0], "x": 37, "y": 64}
],
"max_brightness": 128,
"sleep": true
Expand Down
16 changes: 8 additions & 8 deletions keyboards/keebio/bamfk4/bamfk4.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ led_config_t g_led_config = { {
}, {
// LED Index to Physical Position
//through switch
{ 26.6, 10 }, { 4.3, 10 }, { 3.8, 49.3 }, { 23.3, 49.3 },
{ 69.4, 49.3 }, { 68.9, 10 }, { 90.6, 10 }, { 89.5, 49.3 },
{ 134, 49.3 }, { 132.9, 10 }, { 155.7, 10 }, { 155.1, 49.3 },
{ 199.6, 49.3 }, { 199.6, 10 }, { 219.1, 10 }, { 219.1, 49.3 },
{ 26, 10 }, { 4, 10 }, { 3, 49 }, { 23, 49 },
{ 69, 49 }, { 68, 10 }, { 90, 10 }, { 89, 49 },
{ 134, 49 }, { 132, 10 }, { 155, 10 }, { 155, 49 },
{ 199, 49 }, { 199, 10 }, { 219, 10 }, { 219, 49 },

//underglow
{ 218, 62.2 }, { 188.7, 62.2 }, { 159.5, 62.2 }, { 123.7, 62.2 }, //bottom right
{ 100.3, 62.2 }, { 59.1, 62.2 }, { 35.3, 62.2 }, { 5.4, 62.2 }, //bottom left
{ 6, 6.4 }, { 35.3, 6.4 }, { 59.1, 6.4 }, { 100.3, 6.4 }, //top left
{ 123.7, 6.4 }, { 159.5, 6.4 }, { 188.7, 6.4 }, { 218, 6.4 } //top right
{ 218, 62 }, { 188, 62 }, { 159, 62 }, { 123, 62 }, //bottom right
{ 100, 62 }, { 59, 62 }, { 35, 62 }, { 5, 62 }, //bottom left
{ 6, 6 }, { 35, 6 }, { 59, 6 }, { 100, 6 }, //top left
{ 123, 6 }, { 159, 6 }, { 188, 6 }, { 218, 6 } //top right
}, {
// LED Index to Flag
4, 4, 4, 4,
Expand Down
Loading

0 comments on commit 3f44231

Please sign in to comment.