From b7274343913eb3e019f0dc08fa8f7774165e787d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 29 Jan 2023 02:42:44 +1100 Subject: Remove commented out backlight config & stray "backlight levels" (#19703) --- keyboards/clueboard/card/config.h | 1 - 1 file changed, 1 deletion(-) (limited to 'keyboards/clueboard/card') diff --git a/keyboards/clueboard/card/config.h b/keyboards/clueboard/card/config.h index a115f5d6cf..58c1365089 100644 --- a/keyboards/clueboard/card/config.h +++ b/keyboards/clueboard/card/config.h @@ -19,7 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* number of backlight levels */ #define BACKLIGHT_LEVELS 6 // Enable audio -- cgit v1.2.3 From f6dd8dea2e493dc549a60fee99de871c4088d09a Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Tue, 31 Jan 2023 06:03:30 +1100 Subject: Remove usages of config_common.h from config.h files. (#19714) --- keyboards/clueboard/card/config.h | 1 - 1 file changed, 1 deletion(-) (limited to 'keyboards/clueboard/card') diff --git a/keyboards/clueboard/card/config.h b/keyboards/clueboard/card/config.h index 58c1365089..6eba3c1061 100644 --- a/keyboards/clueboard/card/config.h +++ b/keyboards/clueboard/card/config.h @@ -17,7 +17,6 @@ along with this program. If not, see . #pragma once -#include "config_common.h" #define BACKLIGHT_LEVELS 6 -- cgit v1.2.3 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/clueboard/card/config.h | 3 --- keyboards/clueboard/card/info.json | 4 ++++ keyboards/clueboard/card/rules.mk | 2 -- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'keyboards/clueboard/card') diff --git a/keyboards/clueboard/card/config.h b/keyboards/clueboard/card/config.h index 6eba3c1061..6bf5d24045 100644 --- a/keyboards/clueboard/card/config.h +++ b/keyboards/clueboard/card/config.h @@ -17,8 +17,5 @@ along with this program. If not, see . #pragma once - -#define BACKLIGHT_LEVELS 6 - // Enable audio #define AUDIO_PIN C6 diff --git a/keyboards/clueboard/card/info.json b/keyboards/clueboard/card/info.json index 739d253971..4564768c19 100644 --- a/keyboards/clueboard/card/info.json +++ b/keyboards/clueboard/card/info.json @@ -37,6 +37,10 @@ "pid": "0x2330", "vid": "0xC1ED" }, + "backlight": { + "driver": "custom", + "levels": 6 + }, "layout_aliases": { "LAYOUT": "LAYOUT_all" }, diff --git a/keyboards/clueboard/card/rules.mk b/keyboards/clueboard/card/rules.mk index d2e52d56b5..e69de29bb2 100644 --- a/keyboards/clueboard/card/rules.mk +++ b/keyboards/clueboard/card/rules.mk @@ -1,2 +0,0 @@ -# Build Options -BACKLIGHT_DRIVER = custom -- cgit v1.2.3