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 @@
/* LED Matrix & Animations */
#ifdef RGB_MATRIX_ENABLE
#define RGB_DI_PIN B3
#define RGB_MATRIX_LED_COUNT 42
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended

View File

@@ -14,6 +14,9 @@
"backlight": false,
"rgblight": false
},
"ws2812": {
"pin": "B3"
},
"matrix_pins": {
"cols": ["B4", "D7", "D6", "D4", "B5", "C7", "F0", "F7", "F6", "F1", "F4", "F5"],
"rows": ["D5", "C6", "B6", "E6"]

View File

@@ -8,8 +8,6 @@
* RGB Matrix stuff
* ---------------- */
#define RGB_DI_PIN F0
// RGB Matrix config
#if defined(RGB_MATRIX_ENABLE)

View File

@@ -14,6 +14,9 @@
"backlight": false,
"rgblight": false
},
"ws2812": {
"pin": "F0"
},
"matrix_pins": {
"cols": ["C7", "F6", "F5", "F4", "F1", "B7", "D5", "D1", "D2", "D3", "D4", "D0", "D6", "D7"],
"rows": ["B0", "B1", "B2", "B3", "F7"]

View File

@@ -10,8 +10,6 @@
* RGB Matrix stuff
* ---------------- */
#define RGB_DI_PIN B7
// RGB Matrix config
#if defined(RGB_MATRIX_ENABLE)

View File

@@ -14,6 +14,9 @@
"backlight": false,
"rgblight": false
},
"ws2812": {
"pin": "B7"
},
"matrix_pins": {
"cols": ["C7", "F6", "F5", "F4", "F1", "B3", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"],
"rows": ["B0", "B1", "B2", "E6", "F7"]

View File

@@ -5,9 +5,6 @@
#pragma once
#define RGB_DI_PIN F0
// RGB Matrix config
#if defined(RGB_MATRIX_ENABLE)
#ifndef ID67_DISABLE_UNDERGLOW

View File

@@ -14,6 +14,9 @@
"backlight": false,
"rgblight": false
},
"ws2812": {
"pin": "F0"
},
"matrix_pins": {
"cols": ["C7", "F6", "F5", "F4", "F1", "B7", "D5", "D1", "D2", "D3", "D4", "D0", "D6", "D7", "B4"],
"rows": ["B0", "B1", "B2", "B3", "F7"]

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN F0
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS

View File

@@ -12,6 +12,9 @@
"cols": ["F6", "F5", "F4", "F1", "E6", "D5", "D3", "D2", "D1", "D0", "D4", "D6", "D7", "B4", "B5"],
"rows": ["B0", "B3", "C7", "B6", "C6"]
},
"ws2812": {
"pin": "F0"
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",

View File

@@ -16,8 +16,6 @@
#pragma once
#undef RGB_DI_PIN
#define RGB_DI_PIN F0
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_LED_COUNT 85 /* 10 Bottom 75 top*/
// RGB Matrix Animation modes. Explicitly enabled

View File

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

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN E2
#define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@@ -15,6 +15,9 @@
"pin": "B6",
"breathing": true
},
"ws2812": {
"pin": "E2"
},
"indicators": {
"caps_lock": "C7",
"on_state": 0

View File

@@ -7,8 +7,6 @@
* RGB Matrix stuff
* ---------------- */
#define RGB_DI_PIN E2
// RGB Matrix config
#if defined(RGB_MATRIX_ENABLE)

View File

@@ -25,6 +25,9 @@
"pid": "0x0380",
"device_version": "3.0.0"
},
"ws2812": {
"pin": "E2"
},
"bootmagic": {
"matrix": [0, 5]
},

View File

@@ -14,7 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN E2
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS

View File

@@ -19,6 +19,9 @@
"indicators": {
"caps_lock": "C7"
},
"ws2812": {
"pin": "E2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi"],

View File

@@ -8,8 +8,6 @@
* RGB Matrix stuff
* ---------------- */
#define RGB_DI_PIN E2
// RGB Matrix config
#if defined(RGB_MATRIX_ENABLE)

View File

@@ -14,6 +14,9 @@
"backlight": false,
"rgblight": false
},
"ws2812": {
"pin": "E2"
},
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
"rows": ["E6", "B0", "B1", "B2", "B3", "B7", "F7", "F6", "F5", "F4", "F1"]

View File

@@ -24,7 +24,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define RGB_DI_PIN E2
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -18,6 +18,9 @@
"levels": 7,
"breathing": true
},
"ws2812": {
"pin": "E2"
},
"indicators": {
"caps_lock": "C7",
"num_lock": "C6",

View File

@@ -22,7 +22,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define RGB_DI_PIN B1
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS

View File

@@ -16,6 +16,9 @@
"backlight": {
"pin": "B6"
},
"ws2812": {
"pin": "B1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -3,8 +3,6 @@
#pragma once
#define RGB_DI_PIN B1
#if defined(RGB_MATRIX_ENABLE)
// The number of LEDs connected

View File

@@ -10,6 +10,9 @@
"cols": ["D5", "D3", "D2", "D1", "D0"],
"rows": ["D4", "D6", "D7", "B4", "B5", "C6"]
},
"ws2812": {
"pin": "B1"
},
"diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",

View File

@@ -3,10 +3,6 @@
#pragma once
/* LED Matrix & Animations */
#define RGB_DI_PIN B1
#if defined(RGB_MATRIX_ENABLE)
#ifndef ID27_DISABLE_UNDERGLOW
#define RGB_MATRIX_LED_COUNT 31 // The number of LEDs connected

View File

@@ -14,6 +14,9 @@
"backlight": false,
"rgblight": false
},
"ws2812": {
"pin": "B1"
},
"matrix_pins": {
"cols": ["D5", "D3", "D2", "D1", "D0"],
"rows": ["D4", "D6", "D7", "B4", "B5", "C6"]