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 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN B0
#define RGBLED_NUM 32
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0xFEED",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B0"
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "D3", "D0"],
"rows": ["D2", "D1", "B6", "D4", "C6", "D7", "E6", "B4", "B5"]

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 B6
#define RGBLED_NUM 32
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@@ -7,6 +7,9 @@
"pid": "0xE590",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B6"
},
"matrix_pins": {
"cols": ["D7", "C6", "D0", "D1", "F7", "B1", "B3", "B2"],
"rows": ["B5", "B4", "E6", "D4", "F6", "D3", "D2", "F4", "F5"]

View File

@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TERM 220
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
#define WS2812_DI_PIN D3
#define RGBLED_NUM 3
#define RGBLIGHT_LIMIT_VAL 120

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN B7
# define RGBLED_NUM 12
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8

View File

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

View File

@@ -19,6 +19,5 @@
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN F6
#define RGBLED_NUM 1
#endif

View File

@@ -3,6 +3,9 @@
"usb": {
"device_version": "0.0.1"
},
"ws2812": {
"pin": "F6"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {

View File

@@ -19,6 +19,5 @@
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D1
#define RGBLED_NUM 1
#endif

View File

@@ -3,6 +3,9 @@
"usb": {
"device_version": "0.0.2"
},
"ws2812": {
"pin": "D1"
},
"encoder": {
"rotary": [
{"pin_a": "B2", "pin_b": "B3"}

View File

@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define RGB_DI_PIN C6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,9 @@
"pid": "0x0472",
"device_version": "0.0.2"
},
"ws2812": {
"pin": "C6"
},
"matrix_pins": {
"cols": ["C4", "C5", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "D6", "D5"],
"rows": ["D1", "D2", "D3", "D4"]