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/rgbkb/pan/info.json | 3 +++ keyboards/rgbkb/pan/rev1/rules.mk | 3 --- keyboards/rgbkb/pan/rules.mk | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/rgbkb/pan') diff --git a/keyboards/rgbkb/pan/info.json b/keyboards/rgbkb/pan/info.json index e12e7717eb..d151fd68d6 100644 --- a/keyboards/rgbkb/pan/info.json +++ b/keyboards/rgbkb/pan/info.json @@ -8,6 +8,9 @@ "pid": "0x8C9C", "device_version": "0.0.2" }, + "rgb_matrix": { + "driver": "custom" + }, "layouts": { "LAYOUT_all": { "layout": [ diff --git a/keyboards/rgbkb/pan/rev1/rules.mk b/keyboards/rgbkb/pan/rev1/rules.mk index 667c290059..4d3c0f6679 100644 --- a/keyboards/rgbkb/pan/rev1/rules.mk +++ b/keyboards/rgbkb/pan/rev1/rules.mk @@ -1,5 +1,2 @@ # The default configuration is a atmega32a DEFAULT_FOLDER = rgbkb/pan/rev1/32a - -RGB_MATRIX_DRIVER = custom -WS2812_DRIVER_REQUIRED := yes diff --git a/keyboards/rgbkb/pan/rules.mk b/keyboards/rgbkb/pan/rules.mk index aecabfe157..775fa48e12 100644 --- a/keyboards/rgbkb/pan/rules.mk +++ b/keyboards/rgbkb/pan/rules.mk @@ -9,7 +9,6 @@ COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 ENCODER_ENABLE = yes OLED_ENABLE = yes OLED_DRIVER = SSD1306 @@ -20,3 +19,5 @@ STAGGERED_LAYOUT = no # If you soldered R1-A12 and R4-A12, enable this. # Default to revision 1 DEFAULT_FOLDER = rgbkb/pan/rev1 + +WS2812_DRIVER_REQUIRED := yes -- cgit v1.2.3