From 36ce81df592ca8e9f9fed498e513437aa1cae54f Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Mar 2023 18:22:12 +1100 Subject: Move `WS2812_DRIVER` to data driven (#20248) --- keyboards/kbdfans/kbdpad/mk1/info.json | 3 +++ keyboards/kbdfans/kbdpad/mk1/rules.mk | 1 - keyboards/kbdfans/odinmini/info.json | 3 +++ keyboards/kbdfans/odinmini/rules.mk | 1 - 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'keyboards/kbdfans') diff --git a/keyboards/kbdfans/kbdpad/mk1/info.json b/keyboards/kbdfans/kbdpad/mk1/info.json index e3dd95ace4..a8fbafa348 100644 --- a/keyboards/kbdfans/kbdpad/mk1/info.json +++ b/keyboards/kbdfans/kbdpad/mk1/info.json @@ -17,6 +17,9 @@ "pin": "D4", "breathing": true }, + "ws2812": { + "driver": "i2c" + }, "indicators": { "num_lock": "D0" }, diff --git a/keyboards/kbdfans/kbdpad/mk1/rules.mk b/keyboards/kbdfans/kbdpad/mk1/rules.mk index 98e6c70143..ae7a0b4e16 100644 --- a/keyboards/kbdfans/kbdpad/mk1/rules.mk +++ b/keyboards/kbdfans/kbdpad/mk1/rules.mk @@ -8,4 +8,3 @@ CONSOLE_ENABLE = no COMMAND_ENABLE = no BACKLIGHT_ENABLE = yes RGBLIGHT_ENABLE = no # PCB has underglow LEDs, but case doesn't let them show. -WS2812_DRIVER = i2c diff --git a/keyboards/kbdfans/odinmini/info.json b/keyboards/kbdfans/odinmini/info.json index c4b262c26c..cf59cdc4ce 100644 --- a/keyboards/kbdfans/odinmini/info.json +++ b/keyboards/kbdfans/odinmini/info.json @@ -45,6 +45,9 @@ "saturation_steps": 8, "sleep": true }, + "ws2812": { + "driver": "vendor" + }, "usb": { "device_version": "0.0.1", "pid": "0x6073", diff --git a/keyboards/kbdfans/odinmini/rules.mk b/keyboards/kbdfans/odinmini/rules.mk index 997fce7e65..e69de29bb2 100644 --- a/keyboards/kbdfans/odinmini/rules.mk +++ b/keyboards/kbdfans/odinmini/rules.mk @@ -1 +0,0 @@ -WS2812_DRIVER = vendor -- cgit v1.2.3