summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/kb2040
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/kb2040')
-rw-r--r--keyboards/handwired/onekey/kb2040/info.json5
-rw-r--r--keyboards/handwired/onekey/kb2040/rules.mk2
2 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/handwired/onekey/kb2040/info.json b/keyboards/handwired/onekey/kb2040/info.json
index 37ec3cf8c0..5c0c92ef5d 100644
--- a/keyboards/handwired/onekey/kb2040/info.json
+++ b/keyboards/handwired/onekey/kb2040/info.json
@@ -5,7 +5,8 @@
"cols": ["GP4"],
"rows": ["GP5"]
},
- "rgblight": {
- "pin": "GP17"
+ "ws2812": {
+ "pin": "GP17",
+ "driver": "vendor"
}
}
diff --git a/keyboards/handwired/onekey/kb2040/rules.mk b/keyboards/handwired/onekey/kb2040/rules.mk
index df97352882..a5429ba993 100644
--- a/keyboards/handwired/onekey/kb2040/rules.mk
+++ b/keyboards/handwired/onekey/kb2040/rules.mk
@@ -1,6 +1,4 @@
OLED_ENABLE = yes
OLED_DRIVER = SSD1306
-WS2812_DRIVER = vendor
-
OPT_DEFS += -DHAL_USE_I2C=TRUE