RGB Matrix: driver naming cleanups (#21594)

This commit is contained in:
Ryan
2023-08-23 10:00:03 +10:00
committed by GitHub
parent dfb6d38f08
commit 37bc949945
513 changed files with 1166 additions and 1170 deletions

View File

@@ -13,7 +13,7 @@
"driver": "pwm"
},
"rgb_matrix": {
"driver": "WS2812"
"driver": "ws2812"
},
"matrix_pins": {
"cols": ["B13", "B14", "B15", "A4"],

View File

@@ -27,9 +27,9 @@
*/
void led_update_ports(led_t led_state) {
if (led_state.caps_lock) {
IS31FL3733_set_color( 7+64-1, 0, 255, 0 );
is31fl3733_set_color( 7+64-1, 0, 255, 0 );
} else {
IS31FL3733_set_color( 7+64-1, 0, 0, 0 );
is31fl3733_set_color( 7+64-1, 0, 0, 0 );
}
}
@@ -45,6 +45,6 @@ __attribute__((weak)) layer_state_t layer_state_set_user(layer_state_t state) {
G = 255;
}
IS31FL3733_set_color( 6+64-1, R, G, B );
is31fl3733_set_color( 6+64-1, R, G, B );
return state;
}

View File

@@ -13,7 +13,7 @@
"driver": "pwm"
},
"rgb_matrix": {
"driver": "WS2812"
"driver": "ws2812"
},
"matrix_pins": {
"cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B12", "B13", "B14", "B15", "A8", "A9"],

View File

@@ -38,8 +38,8 @@ bool led_update_kb(led_t led_state) {
CAPS = 0;
}
}
IS31FL3733_set_color( 63+64-1, FN1, FN1, CAPS );
IS31FL3733_set_color( 48+64-1, 0, 0, FN2 );
is31fl3733_set_color( 63+64-1, FN1, FN1, CAPS );
is31fl3733_set_color( 48+64-1, 0, 0, FN2 );
return res;
}

View File

@@ -13,7 +13,7 @@
"driver": "pwm"
},
"rgb_matrix": {
"driver": "WS2812"
"driver": "ws2812"
},
"matrix_pins": {
"cols": ["B12", "B13", "B14", "B15", "A8", "A10", "A14", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "A0", "A1"],

View File

@@ -27,7 +27,7 @@
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"rgb_matrix": {
"driver": "WS2812",
"driver": "ws2812",
"layout": [
{"flags": 1, "matrix": [0, 0], "x": 0, "y": 0},
{"flags": 1, "matrix": [0, 1], "x": 13, "y": 0},