Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)

This commit is contained in:
Ryan
2023-04-06 18:00:54 +10:00
committed by GitHub
parent 71c22a12db
commit 47966dc2a6
2600 changed files with 4027 additions and 1909 deletions

View File

@@ -17,7 +17,6 @@
#pragma once
/* RGB Lighting */
#define RGB_DI_PIN B0
#define RGBLED_NUM 23
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -8,6 +8,9 @@
"pid": "0xA04B",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B0"
},
"matrix_pins": {
"cols": ["B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0", "F6", "F7", "C7", "C6", "B6", "B5"],
"rows": ["F5", "F4", "F1", "F0", "E6"]

View File

@@ -46,7 +46,6 @@
#define RGB_BACKLIGHT_DAWN60
//RGB Underglow defines
#define RGB_DI_PIN F0
#define WS2812_LED_TOTAL 20
#define RGB_UNDERGLOW_ALPHA_TOP_START 0

View File

@@ -1,4 +1,7 @@
{
"ws2812": {
"pin": "F0"
},
"matrix_pins": {
"cols": ["B0", "D5", "B2", "F5", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["B1", "B3", "F1", "F6", "F7"]

View File

@@ -21,7 +21,6 @@
#define LOCKING_RESYNC_ENABLE
//RGB Underglow defines
#define RGB_DI_PIN F0
#define WS2812_LED_TOTAL 20
//RGB Matrix defines

View File

@@ -1,4 +1,7 @@
{
"ws2812": {
"pin": "F0"
},
"matrix_pins": {
"cols": ["B0", "D5", "B2", "F5", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["B1", "B3", "F1", "F6", "F7"]

View File

@@ -23,8 +23,6 @@
#define LOCKING_RESYNC_ENABLE
// RGB Matrix
// The pin connected to the data pin of the LEDs
#define RGB_DI_PIN F1
// The number of LEDs connected
#define RGB_MATRIX_LED_COUNT 32

View File

@@ -8,6 +8,9 @@
"pid": "0x4C50",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "F1"
},
"matrix_pins": {
"cols": ["E6", "D5", "B2", "B3", "D3", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["B0", "B1", "F0", "F4", "F5"]

View File

@@ -17,7 +17,6 @@
#pragma once
/* RGB Underglow */
#define RGB_DI_PIN A10
#define RGBLED_NUM 26
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"ws2812": {
"pin": "A10",
"driver": "pwm"
},
"matrix_pins": {

View File

@@ -17,7 +17,6 @@
#pragma once
/* RGB Underglow */
#define RGB_DI_PIN B0
#define RGBLED_NUM 28
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -8,6 +8,9 @@
"pid": "0x5652",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B0"
},
"matrix_pins": {
"cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2"],
"rows": ["B1", "B2", "C7", "C6", "B6"]

View File

@@ -40,7 +40,6 @@
#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191
/* RGB Matrix */
#define RGB_DI_PIN A9
#define RGBLED_NUM 28
#define RGB_MATRIX_LED_COUNT 28
#define NOP_FUDGE 0.4

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"ws2812": {
"pin": "A9",
"driver": "pwm"
},
"matrix_pins": {

View File

@@ -38,7 +38,6 @@
#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191
// RGBLIGHT
#define RGB_DI_PIN A10
#define RGBLED_NUM 8 // actually only has 1
#define RGBLIGHT_LAYERS
#define WS2812_EXTERNAL_PULLUP

View File

@@ -8,6 +8,9 @@
"pid": "0x5861",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "A10"
},
"processor": "STM32L422",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",

View File

@@ -37,7 +37,6 @@
// More EEPROM for layers
// RGBLIGHT
#define RGB_DI_PIN A10
#define RGBLED_NUM 8 // actually only has 1
#define RGBLIGHT_LAYERS
#define WS2812_EXTERNAL_PULLUP

View File

@@ -8,6 +8,9 @@
"pid": "0x5860",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "A10"
},
"processor": "STM32L422",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",