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

@@ -1,6 +1,5 @@
#pragma once
#define RGB_DI_PIN A7
#define RGB_MATRIX_LED_COUNT 91
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)

View File

@@ -16,6 +16,9 @@
"num_lock": "C15",
"scroll_lock": "B9"
},
"ws2812": {
"pin": "A7"
},
"layout_aliases": {
"LAYOUT_all": "LAYOUT_alice_split_bs"
},

View File

@@ -1,6 +1,5 @@
#pragma once
#define RGB_DI_PIN A15
#define RGBLED_NUM 23
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -13,6 +13,9 @@
{"pin_a": "A4", "pin_b": "A3"}
]
},
"ws2812": {
"pin": "A15"
},
"processor": "STM32F303",
"board": "QMK_PROTON_C",
"bootloader": "stm32-dfu",

View File

@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN A7
#define WS2812_SPI SPID1 // default: SPID1
#define WS2812_SPI_MOSI_PAL_MODE 5 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5
#define RGBLED_NUM 23

View File

@@ -21,6 +21,7 @@
"scroll_lock": "C15"
},
"ws2812": {
"pin": "A7",
"driver": "spi"
},
"layout_aliases": {

View File

@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
#define RGB_DI_PIN A7
#define RGBLED_NUM 23
#define RGBLIGHT_LIMIT_VAL 255
#define RGBLIGHT_EFFECT_BREATHING

View File

@@ -9,6 +9,9 @@
"pin": "B0",
"breathing": true
},
"ws2812": {
"pin": "A7"
},
"indicators": {
"caps_lock": "B2",
"num_lock": "C15",

View File

@@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define RGB_DI_PIN E2
#define RGBLED_NUM 23
#define RGBLIGHT_LIMIT_VAL 255
#define RGBLIGHT_EFFECT_BREATHING

View File

@@ -14,6 +14,9 @@
"pin": "B5",
"breathing": true
},
"ws2812": {
"pin": "E2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"indicators": {