summaryrefslogtreecommitdiff
path: root/keyboards/doodboard
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/doodboard
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/doodboard')
-rw-r--r--keyboards/doodboard/duckboard/config.h3
-rw-r--r--keyboards/doodboard/duckboard/info.json3
-rw-r--r--keyboards/doodboard/duckboard_r2/config.h3
-rw-r--r--keyboards/doodboard/duckboard_r2/info.json3
4 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/doodboard/duckboard/config.h b/keyboards/doodboard/duckboard/config.h
index 40327dbc9a..a73678faf2 100644
--- a/keyboards/doodboard/duckboard/config.h
+++ b/keyboards/doodboard/duckboard/config.h
@@ -19,9 +19,6 @@
/* media key slowdown for windows */
#define TAP_CODE_DELAY 20
-/* ws2812 RGB LED */
-#define RGB_DI_PIN D3
-
#ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 8 // Number of LEDs
#endif
diff --git a/keyboards/doodboard/duckboard/info.json b/keyboards/doodboard/duckboard/info.json
index 6153c3e2c0..367a9b7d72 100644
--- a/keyboards/doodboard/duckboard/info.json
+++ b/keyboards/doodboard/duckboard/info.json
@@ -18,6 +18,9 @@
{"pin_a": "F5", "pin_b": "F6", "resolution": 2}
]
},
+ "ws2812": {
+ "pin": "D3"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/doodboard/duckboard_r2/config.h b/keyboards/doodboard/duckboard_r2/config.h
index 40327dbc9a..a73678faf2 100644
--- a/keyboards/doodboard/duckboard_r2/config.h
+++ b/keyboards/doodboard/duckboard_r2/config.h
@@ -19,9 +19,6 @@
/* media key slowdown for windows */
#define TAP_CODE_DELAY 20
-/* ws2812 RGB LED */
-#define RGB_DI_PIN D3
-
#ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 8 // Number of LEDs
#endif
diff --git a/keyboards/doodboard/duckboard_r2/info.json b/keyboards/doodboard/duckboard_r2/info.json
index da1c3342ed..00d0fc6452 100644
--- a/keyboards/doodboard/duckboard_r2/info.json
+++ b/keyboards/doodboard/duckboard_r2/info.json
@@ -18,6 +18,9 @@
{"pin_a": "F6", "pin_b": "F5", "resolution": 2}
]
},
+ "ws2812": {
+ "pin": "D3"
+ },
"bootmagic": {
"matrix": [0, 1]
},