summaryrefslogtreecommitdiff
path: root/keyboards/keycapsss
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/keycapsss
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/keycapsss')
-rw-r--r--keyboards/keycapsss/kimiko/keymaps/oriaj3/config.h2
-rw-r--r--keyboards/keycapsss/kimiko/rev1/config.h3
-rw-r--r--keyboards/keycapsss/kimiko/rev1/info.json3
-rw-r--r--keyboards/keycapsss/o4l_5x12/config.h1
-rw-r--r--keyboards/keycapsss/o4l_5x12/info.json3
5 files changed, 7 insertions, 5 deletions
diff --git a/keyboards/keycapsss/kimiko/keymaps/oriaj3/config.h b/keyboards/keycapsss/kimiko/keymaps/oriaj3/config.h
index f85a8eee55..2fd384b986 100644
--- a/keyboards/keycapsss/kimiko/keymaps/oriaj3/config.h
+++ b/keyboards/keycapsss/kimiko/keymaps/oriaj3/config.h
@@ -31,7 +31,7 @@
#ifdef RGB_MATRIX_ENABLE
// The pin connected to the data pin of the LEDs
-#define RGB_DI_PIN D3
+#define WS2812_DI_PIN D3
// The number of LEDs connected
#define RGB_MATRIX_LED_COUNT 60
#define RGBLED_NUM 60
diff --git a/keyboards/keycapsss/kimiko/rev1/config.h b/keyboards/keycapsss/kimiko/rev1/config.h
index 6e82a2cc6f..27049500bc 100644
--- a/keyboards/keycapsss/kimiko/rev1/config.h
+++ b/keyboards/keycapsss/kimiko/rev1/config.h
@@ -16,9 +16,6 @@
#pragma once
-/* SK6812 RGB LED */
-#define RGB_DI_PIN D3
-
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 60 // Total number of LEDs
# define RGBLED_SPLIT { 30, 30 } // LEDs per side
diff --git a/keyboards/keycapsss/kimiko/rev1/info.json b/keyboards/keycapsss/kimiko/rev1/info.json
index 95215542a9..160c7517e0 100644
--- a/keyboards/keycapsss/kimiko/rev1/info.json
+++ b/keyboards/keycapsss/kimiko/rev1/info.json
@@ -21,6 +21,9 @@
"split": {
"soft_serial_pin": "D2"
},
+ "ws2812": {
+ "pin": "D3"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/keycapsss/o4l_5x12/config.h b/keyboards/keycapsss/o4l_5x12/config.h
index fc78e6bb03..6acf662823 100644
--- a/keyboards/keycapsss/o4l_5x12/config.h
+++ b/keyboards/keycapsss/o4l_5x12/config.h
@@ -1,6 +1,5 @@
#pragma once
-#define RGB_DI_PIN D3
# define RGBLED_NUM 12
# define RGBLIGHT_HUE_STEP 4
# define RGBLIGHT_SAT_STEP 4
diff --git a/keyboards/keycapsss/o4l_5x12/info.json b/keyboards/keycapsss/o4l_5x12/info.json
index 81afec7334..0766e0a2e4 100644
--- a/keyboards/keycapsss/o4l_5x12/info.json
+++ b/keyboards/keycapsss/o4l_5x12/info.json
@@ -8,6 +8,9 @@
"pid": "0x0512",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "D3"
+ },
"matrix_pins": {
"cols": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "F6", "F5", "F4"],
"rows": ["F7", "B1", "B3", "B2", "B6"]