summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd002
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiudi/xd002')
-rw-r--r--keyboards/xiudi/xd002/config.h1
-rw-r--r--keyboards/xiudi/xd002/info.json3
-rw-r--r--keyboards/xiudi/xd002/keymaps/multilayer_rgb/rules.mk2
-rw-r--r--keyboards/xiudi/xd002/keymaps/rgb_lite/rules.mk2
4 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/xiudi/xd002/config.h b/keyboards/xiudi/xd002/config.h
index 19f01664b2..d442ee5762 100644
--- a/keyboards/xiudi/xd002/config.h
+++ b/keyboards/xiudi/xd002/config.h
@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 2
-#define RGB_DI_PIN B2
// Save as much space as we can...
#define LAYER_STATE_8BIT
diff --git a/keyboards/xiudi/xd002/info.json b/keyboards/xiudi/xd002/info.json
index c160af5f85..c36199e06e 100644
--- a/keyboards/xiudi/xd002/info.json
+++ b/keyboards/xiudi/xd002/info.json
@@ -8,6 +8,9 @@
"pid": "0x0202",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "B2"
+ },
"matrix_pins": {
"direct": [
["B0", "B1"]
diff --git a/keyboards/xiudi/xd002/keymaps/multilayer_rgb/rules.mk b/keyboards/xiudi/xd002/keymaps/multilayer_rgb/rules.mk
index 69d592aa4b..07c75adb47 100644
--- a/keyboards/xiudi/xd002/keymaps/multilayer_rgb/rules.mk
+++ b/keyboards/xiudi/xd002/keymaps/multilayer_rgb/rules.mk
@@ -1,2 +1,2 @@
-SRC += ws2812.c
+WS2812_DRIVER_REQUIRED = yes
EXTRAKEY_ENABLE = yes
diff --git a/keyboards/xiudi/xd002/keymaps/rgb_lite/rules.mk b/keyboards/xiudi/xd002/keymaps/rgb_lite/rules.mk
index 227bbcae32..9a69649289 100644
--- a/keyboards/xiudi/xd002/keymaps/rgb_lite/rules.mk
+++ b/keyboards/xiudi/xd002/keymaps/rgb_lite/rules.mk
@@ -1 +1 @@
-SRC += ws2812.c
+WS2812_DRIVER_REQUIRED = yes