From 522048725f6b076bdad1251243c65dd2acf6595d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 8 Apr 2023 18:08:08 +1000 Subject: Move `RGB_MATRIX_DRIVER` to data driven (#20350) --- keyboards/adafruit/macropad/info.json | 3 +++ keyboards/adafruit/macropad/rules.mk | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/adafruit') diff --git a/keyboards/adafruit/macropad/info.json b/keyboards/adafruit/macropad/info.json index 0324d1e817..8982caaae3 100644 --- a/keyboards/adafruit/macropad/info.json +++ b/keyboards/adafruit/macropad/info.json @@ -13,6 +13,9 @@ {"pin_a": "GP18", "pin_b": "GP17"} ] }, + "rgb_matrix": { + "driver": "WS2812" + }, "bootmagic": { "matrix": [1, 2] }, diff --git a/keyboards/adafruit/macropad/rules.mk b/keyboards/adafruit/macropad/rules.mk index 9dcc495526..23b15d77fc 100644 --- a/keyboards/adafruit/macropad/rules.mk +++ b/keyboards/adafruit/macropad/rules.mk @@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output AUDIO_DRIVER = pwm_hardware ENCODER_ENABLE = yes RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 OLED_ENABLE = yes OLED_DRIVER = custom # Project specific files -- cgit v1.2.3