Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#define RGB_DI_PIN C6
|
||||
#define RGB_MATRIX_LED_COUNT 18
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
||||
|
@@ -10,6 +10,9 @@
|
||||
"mousekey": false,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "C6"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B6", "B7"],
|
||||
"rows": ["B0", "B1", "B2", "B3"]
|
||||
|
@@ -22,7 +22,6 @@
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 5,
|
||||
"pin": "D3",
|
||||
"sleep": true,
|
||||
"animations": {
|
||||
"alternating": true,
|
||||
@@ -37,6 +36,9 @@
|
||||
"twinkle": true
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"community_layouts": [
|
||||
"ortho_2x3"
|
||||
],
|
||||
|
@@ -10,7 +10,7 @@
|
||||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"encoder": {
|
||||
|
@@ -9,4 +9,3 @@
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C1_SDA_PIN GP22
|
||||
#define I2C1_SCL_PIN GP23
|
||||
#define RGB_DI_PIN GP29
|
||||
|
@@ -11,6 +11,7 @@
|
||||
]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "GP29",
|
||||
"driver": "vendor"
|
||||
}
|
||||
}
|
||||
|
@@ -13,7 +13,6 @@
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "D3",
|
||||
"sleep": true,
|
||||
"led_count": 12,
|
||||
"split_count": [6, 6],
|
||||
@@ -30,5 +29,8 @@
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
}
|
||||
|
@@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#define RGB_DI_PIN B5
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
|
||||
#define RGB_MATRIX_LED_COUNT 44
|
||||
#define RGB_MATRIX_SPLIT { 22, 22 }
|
||||
|
@@ -9,6 +9,9 @@
|
||||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B5"
|
||||
},
|
||||
"encoder": {
|
||||
"enabled": true,
|
||||
"rotary": [
|
||||
|
@@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#define RGB_DI_PIN C6
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
|
||||
#define RGB_MATRIX_LED_COUNT 58
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
|
@@ -11,6 +11,9 @@
|
||||
"nkro": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "C6"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B6", "B7", "F5", "C7", "D0", "D1", "D2", "D3", "D4", "D5", "D6"],
|
||||
"rows": ["B0", "B1", "B2", "B3"]
|
||||
|
@@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#define RGB_DI_PIN C6
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
|
||||
#define RGB_MATRIX_LED_COUNT 55
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
|
@@ -11,6 +11,9 @@
|
||||
"nkro": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "C6"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B6", "B7", "F5", "C7", "D0", "D1", "D2", "D3", "D4", "D5", "D6"],
|
||||
"rows": ["B0", "B1", "B2", "B3"]
|
||||
|
@@ -24,7 +24,6 @@
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 24,
|
||||
"pin": "C6",
|
||||
"sleep": true,
|
||||
"max_brightness": 200,
|
||||
"animations": {
|
||||
@@ -40,6 +39,9 @@
|
||||
"twinkle": true
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "C6"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"layout": [
|
||||
{ "flags": 2, "x": 224, "y": 42},
|
||||
|
Reference in New Issue
Block a user