summaryrefslogtreecommitdiff
path: root/keyboards/clueboard
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
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/clueboard')
-rw-r--r--keyboards/clueboard/17/info.json3
-rw-r--r--keyboards/clueboard/17/rules.mk2
-rw-r--r--keyboards/clueboard/60/config.h23
-rw-r--r--keyboards/clueboard/60/info.json3
-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
-rw-r--r--keyboards/clueboard/66_hotswap/prototype/config.h4
-rw-r--r--keyboards/clueboard/66_hotswap/prototype/info.json4
-rw-r--r--keyboards/clueboard/66_hotswap/prototype/rules.mk2
-rw-r--r--keyboards/clueboard/card/config.h3
-rw-r--r--keyboards/clueboard/card/info.json4
-rw-r--r--keyboards/clueboard/card/rules.mk2
16 files changed, 22 insertions, 49 deletions
diff --git a/keyboards/clueboard/17/info.json b/keyboards/clueboard/17/info.json
index 33b888b059..a8e933d028 100644
--- a/keyboards/clueboard/17/info.json
+++ b/keyboards/clueboard/17/info.json
@@ -46,6 +46,9 @@
"pid": "0x2312",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom"
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_numpad_5x4"
},
diff --git a/keyboards/clueboard/17/rules.mk b/keyboards/clueboard/17/rules.mk
index d2e52d56b5..e69de29bb2 100644
--- a/keyboards/clueboard/17/rules.mk
+++ b/keyboards/clueboard/17/rules.mk
@@ -1,2 +0,0 @@
-# Build Options
-BACKLIGHT_DRIVER = custom
diff --git a/keyboards/clueboard/60/config.h b/keyboards/clueboard/60/config.h
deleted file mode 100644
index c675044b37..0000000000
--- a/keyboards/clueboard/60/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright 2017 skully <skullydazed@gmail.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 1
diff --git a/keyboards/clueboard/60/info.json b/keyboards/clueboard/60/info.json
index 16f94644c9..d89253fa3e 100644
--- a/keyboards/clueboard/60/info.json
+++ b/keyboards/clueboard/60/info.json
@@ -29,6 +29,9 @@
"pid": "0x2350",
"vid": "0xC1ED"
},
+ "backlight": {
+ "levels": 1
+ },
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
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
diff --git a/keyboards/clueboard/66_hotswap/prototype/config.h b/keyboards/clueboard/66_hotswap/prototype/config.h
index 84869fb48b..651037af12 100644
--- a/keyboards/clueboard/66_hotswap/prototype/config.h
+++ b/keyboards/clueboard/66_hotswap/prototype/config.h
@@ -10,10 +10,6 @@
*/
#define NO_ACTION_TAPPING
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 1
-
/* Underlight configuration
*/
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
diff --git a/keyboards/clueboard/66_hotswap/prototype/info.json b/keyboards/clueboard/66_hotswap/prototype/info.json
index c1b14be644..522eda3fba 100644
--- a/keyboards/clueboard/66_hotswap/prototype/info.json
+++ b/keyboards/clueboard/66_hotswap/prototype/info.json
@@ -50,6 +50,10 @@
"pid": "0x2390",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"community_layouts": ["66_ansi"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
diff --git a/keyboards/clueboard/66_hotswap/prototype/rules.mk b/keyboards/clueboard/66_hotswap/prototype/rules.mk
index 8193682fd3..4da205a168 100644
--- a/keyboards/clueboard/66_hotswap/prototype/rules.mk
+++ b/keyboards/clueboard/66_hotswap/prototype/rules.mk
@@ -1,3 +1 @@
-BACKLIGHT_DRIVER = custom
-
LTO_ENABLE = yes
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