summaryrefslogtreecommitdiffstats
path: root/keyboards/clueboard/card
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/clueboard/card
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/clueboard/card')
-rw-r--r--keyboards/clueboard/card/config.h3
-rw-r--r--keyboards/clueboard/card/info.json4
-rw-r--r--keyboards/clueboard/card/rules.mk2
3 files changed, 4 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>.
#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