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 F0
#define RGBLED_NUM 3
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

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

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 14
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",

View File

@@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI SPID2
#define RGB_DI_PIN B15
#define RGBLED_NUM 22
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PAL_MODE 0

View File

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

View File

@@ -24,7 +24,6 @@
// ws2812 options
#define RGB_DI_PIN D4
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

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

View File

@@ -12,7 +12,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 20
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

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

View File

@@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define WS2812_SPI SPID2
#define RGB_DI_PIN B15
#define RGBLED_NUM 20
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PAL_MODE 0

View File

@@ -17,6 +17,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 20
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",

View File

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

View File

@@ -17,6 +17,9 @@
"caps_lock": "B6",
"scroll_lock": "B2"
},
"ws2812": {
"pin": "D1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 14
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 20
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",

View File

@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 14
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"indicators": {

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 20
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",

View File

@@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 9
#define WS2812_SPI SPID2

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F103",

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 16
#define WS2812_SPI SPID2

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F103",

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 16
#define WS2812_SPI SPID2

View File

@@ -24,6 +24,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F103",

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 9
#define WS2812_SPI SPID2

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F103",

View File

@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 20
#define WS2812_SPI SPID2

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F103",

View File

@@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 8
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"indicators": {

View File

@@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 20
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",

View File

@@ -32,7 +32,6 @@
},
"rgblight": {
"led_count": 12,
"pin": "B15",
"hue_steps": 24,
"saturation_steps": 16,
"brightness_steps": 16,
@@ -49,6 +48,9 @@
"twinkle": true
}
},
"ws2812": {
"pin": "B15"
},
"indicators": {
"caps_lock": "B9",
"scroll_lock": "F0",

View File

@@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 22
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",

View File

@@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_DI_PIN B15
#define RGBLED_NUM 20
#define WS2812_SPI SPID2
#define WS2812_SPI_MOSI_PAL_MODE 0

View File

@@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "B15",
"driver": "spi"
},
"processor": "STM32F072",