summaryrefslogtreecommitdiff
path: root/keyboards/clueboard/66
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/66
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/clueboard/66')
-rw-r--r--keyboards/clueboard/66/rev2/config.h5
-rw-r--r--keyboards/clueboard/66/rev2/info.json4
-rw-r--r--keyboards/clueboard/66/rev2/rules.mk2
-rw-r--r--keyboards/clueboard/66/rev3/config.h5
-rw-r--r--keyboards/clueboard/66/rev3/info.json4
-rw-r--r--keyboards/clueboard/66/rev3/rules.mk1
6 files changed, 8 insertions, 13 deletions
diff --git a/keyboards/clueboard/66/rev2/config.h b/keyboards/clueboard/66/rev2/config.h
index 192275f9f3..88d5112c8c 100644
--- a/keyboards/clueboard/66/rev2/config.h
+++ b/keyboards/clueboard/66/rev2/config.h
@@ -1,10 +1,5 @@
#pragma once
-
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 1
-
/* Underlight configuration
*/
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
diff --git a/keyboards/clueboard/66/rev2/info.json b/keyboards/clueboard/66/rev2/info.json
index 2a9948f5b4..5945c2c833 100644
--- a/keyboards/clueboard/66/rev2/info.json
+++ b/keyboards/clueboard/66/rev2/info.json
@@ -50,6 +50,10 @@
"pid": "0x2320",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"community_layouts": ["66_ansi", "66_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
diff --git a/keyboards/clueboard/66/rev2/rules.mk b/keyboards/clueboard/66/rev2/rules.mk
index d2e52d56b5..e69de29bb2 100644
--- a/keyboards/clueboard/66/rev2/rules.mk
+++ b/keyboards/clueboard/66/rev2/rules.mk
@@ -1,2 +0,0 @@
-# Build Options
-BACKLIGHT_DRIVER = custom
diff --git a/keyboards/clueboard/66/rev3/config.h b/keyboards/clueboard/66/rev3/config.h
index f84eb9da3e..eb584f096f 100644
--- a/keyboards/clueboard/66/rev3/config.h
+++ b/keyboards/clueboard/66/rev3/config.h
@@ -1,10 +1,5 @@
#pragma once
-
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 1
-
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
#define RGBLIGHT_EFFECT_BREATHE_MAX 200
#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
diff --git a/keyboards/clueboard/66/rev3/info.json b/keyboards/clueboard/66/rev3/info.json
index 7e99d16fcb..4c0569622c 100644
--- a/keyboards/clueboard/66/rev3/info.json
+++ b/keyboards/clueboard/66/rev3/info.json
@@ -50,6 +50,10 @@
"pid": "0x2370",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"community_layouts": ["66_ansi", "66_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
diff --git a/keyboards/clueboard/66/rev3/rules.mk b/keyboards/clueboard/66/rev3/rules.mk
index 924437d89b..e69de29bb2 100644
--- a/keyboards/clueboard/66/rev3/rules.mk
+++ b/keyboards/clueboard/66/rev3/rules.mk
@@ -1 +0,0 @@
-BACKLIGHT_DRIVER = custom