From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 08:37:57 +1100 Subject: Move backlight config to data driven (#19910) --- keyboards/checkerboards/quark_plus/config.h | 5 ----- keyboards/checkerboards/quark_plus/info.json | 5 +++++ keyboards/checkerboards/quark_plus/rules.mk | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'keyboards/checkerboards/quark_plus') diff --git a/keyboards/checkerboards/quark_plus/config.h b/keyboards/checkerboards/quark_plus/config.h index 004fc8a177..b44a42406b 100644 --- a/keyboards/checkerboards/quark_plus/config.h +++ b/keyboards/checkerboards/quark_plus/config.h @@ -30,11 +30,6 @@ /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Switch LED Backlighting */ -#define BACKLIGHT_PIN C4 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING - // ws2812 options #define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/checkerboards/quark_plus/info.json b/keyboards/checkerboards/quark_plus/info.json index 6685b84224..6c40827e74 100644 --- a/keyboards/checkerboards/quark_plus/info.json +++ b/keyboards/checkerboards/quark_plus/info.json @@ -8,6 +8,11 @@ "pid": "0x5344", "device_version": "0.0.1" }, + "backlight": { + "pin": "C4", + "levels": 6, + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/checkerboards/quark_plus/rules.mk b/keyboards/checkerboards/quark_plus/rules.mk index 10772de547..c10c82105d 100644 --- a/keyboards/checkerboards/quark_plus/rules.mk +++ b/keyboards/checkerboards/quark_plus/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output ENCODER_ENABLE = yes # Enable rotary encoder -- cgit v1.2.3