summaryrefslogtreecommitdiff
path: root/keyboards/tzarc
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/tzarc
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/tzarc')
-rw-r--r--keyboards/tzarc/djinn/config.h1
-rw-r--r--keyboards/tzarc/djinn/info.json1
-rw-r--r--keyboards/tzarc/ghoul/rev1/rp2040/config.h1
-rw-r--r--keyboards/tzarc/ghoul/rev1/rp2040/info.json1
-rw-r--r--keyboards/tzarc/ghoul/rev1/stm32/config.h1
-rw-r--r--keyboards/tzarc/ghoul/rev1/stm32/info.json1
6 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/tzarc/djinn/config.h b/keyboards/tzarc/djinn/config.h
index c1c2f6832a..af98f887db 100644
--- a/keyboards/tzarc/djinn/config.h
+++ b/keyboards/tzarc/djinn/config.h
@@ -41,7 +41,6 @@
#define BACKLIGHT_PAL_MODE 1
// RGB configuration
-#define RGB_DI_PIN B2
#define WS2812_EXTERNAL_PULLUP
#define WS2812_PWM_DRIVER PWMD20
#define WS2812_PWM_CHANNEL 1
diff --git a/keyboards/tzarc/djinn/info.json b/keyboards/tzarc/djinn/info.json
index 9165255746..0c396a3d53 100644
--- a/keyboards/tzarc/djinn/info.json
+++ b/keyboards/tzarc/djinn/info.json
@@ -34,6 +34,7 @@
"levels": 4
},
"ws2812": {
+ "pin": "B2",
"driver": "pwm"
},
"split": {
diff --git a/keyboards/tzarc/ghoul/rev1/rp2040/config.h b/keyboards/tzarc/ghoul/rev1/rp2040/config.h
index 39b587bab0..616d4ab84a 100644
--- a/keyboards/tzarc/ghoul/rev1/rp2040/config.h
+++ b/keyboards/tzarc/ghoul/rev1/rp2040/config.h
@@ -22,7 +22,6 @@
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN GP2
// RGB configuration
-#define RGB_DI_PIN GP13
#define RGB_ENABLE_PIN GP6
// ADC Configuration
diff --git a/keyboards/tzarc/ghoul/rev1/rp2040/info.json b/keyboards/tzarc/ghoul/rev1/rp2040/info.json
index 21f05ee6b9..86856ac721 100644
--- a/keyboards/tzarc/ghoul/rev1/rp2040/info.json
+++ b/keyboards/tzarc/ghoul/rev1/rp2040/info.json
@@ -13,6 +13,7 @@
]
},
"ws2812": {
+ "pin": "GP13",
"driver": "vendor"
}
}
diff --git a/keyboards/tzarc/ghoul/rev1/stm32/config.h b/keyboards/tzarc/ghoul/rev1/stm32/config.h
index 12c9f77d5e..1dbc164039 100644
--- a/keyboards/tzarc/ghoul/rev1/stm32/config.h
+++ b/keyboards/tzarc/ghoul/rev1/stm32/config.h
@@ -25,7 +25,6 @@
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN A4
// RGB configuration
-#define RGB_DI_PIN C6
#define WS2812_PWM_DRIVER PWMD3
#define WS2812_PWM_CHANNEL 1
#define WS2812_PWM_PAL_MODE 2
diff --git a/keyboards/tzarc/ghoul/rev1/stm32/info.json b/keyboards/tzarc/ghoul/rev1/stm32/info.json
index b1ece191f5..c77fc17dfa 100644
--- a/keyboards/tzarc/ghoul/rev1/stm32/info.json
+++ b/keyboards/tzarc/ghoul/rev1/stm32/info.json
@@ -4,6 +4,7 @@
"bootloader": "stm32-dfu",
"bootloader_instructions": "Press the 5 keys on the bottom row of the left side, or hold the boot switch and tap the reset switch, or hold the top-left key when plugging in the board.",
"ws2812": {
+ "pin": "C6",
"driver": "pwm"
},
"encoder": {