1
0

Migrate g_led_config to DD (TUW) (#25625)

This commit is contained in:
Jack Sangdahl
2025-09-09 03:06:12 -06:00
committed by GitHub
parent 177ff71d0c
commit 6c96bb5a5a
20 changed files with 513 additions and 313 deletions

View File

@@ -54,6 +54,17 @@
"typing_heatmap": true
},
"driver": "ws2812",
"layout": [
{"matrix": [0, 11], "x": 188, "y": 32, "flags": 4},
{"matrix": [0, 10], "x": 169, "y": 32, "flags": 4},
{"matrix": [0, 9], "x": 150, "y": 32, "flags": 4},
{"matrix": [0, 8], "x": 131, "y": 32, "flags": 4},
{"matrix": [0, 7], "x": 112, "y": 32, "flags": 4},
{"matrix": [0, 6], "x": 93, "y": 32, "flags": 4},
{"matrix": [0, 5], "x": 74, "y": 32, "flags": 4},
{"matrix": [0, 4], "x": 55, "y": 32, "flags": 4},
{"matrix": [0, 3], "x": 36, "y": 32, "flags": 4}
],
"max_brightness": 120,
"sleep": true
},

View File

@@ -41,17 +41,3 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
return true;
}
#endif
#ifdef RGB_MATRIX_ENABLE
// clang-format off
led_config_t g_led_config = {
{
{ NO_LED, NO_LED, NO_LED, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
}, {
{188, 32}, {169, 32}, {150, 32}, {131, 32}, {112, 32}, {93, 32}, {74, 32}, {55, 32}, {36, 32}
}, {
4, 4, 4, 4, 4, 4, 4, 4, 4
}
};
// clang-format on
#endif