summaryrefslogtreecommitdiffstats
path: root/keyboards/exclusive
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/exclusive
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/exclusive')
-rw-r--r--keyboards/exclusive/e65/config.h5
-rw-r--r--keyboards/exclusive/e65/info.json4
-rw-r--r--keyboards/exclusive/e6v2/le/config.h6
-rw-r--r--keyboards/exclusive/e6v2/le/info.json3
-rw-r--r--keyboards/exclusive/e6v2/le_bmc/config.h2
-rw-r--r--keyboards/exclusive/e6v2/le_bmc/info.json3
-rw-r--r--keyboards/exclusive/e6v2/oe/config.h6
-rw-r--r--keyboards/exclusive/e6v2/oe/info.json3
-rw-r--r--keyboards/exclusive/e6v2/oe_bmc/config.h2
-rw-r--r--keyboards/exclusive/e6v2/oe_bmc/info.json3
-rw-r--r--keyboards/exclusive/e7v1/config.h5
-rw-r--r--keyboards/exclusive/e7v1/info.json4
-rw-r--r--keyboards/exclusive/e7v1se/config.h3
-rw-r--r--keyboards/exclusive/e7v1se/info.json4
-rw-r--r--keyboards/exclusive/e85/config.h4
-rw-r--r--keyboards/exclusive/e85/hotswap/info.json5
-rw-r--r--keyboards/exclusive/e85/soldered/info.json5
17 files changed, 34 insertions, 33 deletions
diff --git a/keyboards/exclusive/e65/config.h b/keyboards/exclusive/e65/config.h
index 7ef569f8c2..ef92b06249 100644
--- a/keyboards/exclusive/e65/config.h
+++ b/keyboards/exclusive/e65/config.h
@@ -26,11 +26,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-# define BACKLIGHT_LEVELS 6
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/exclusive/e65/info.json b/keyboards/exclusive/e65/info.json
index cee3259107..436faa5f3d 100644
--- a/keyboards/exclusive/e65/info.json
+++ b/keyboards/exclusive/e65/info.json
@@ -8,6 +8,10 @@
"pid": "0xE605",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 6
+ },
"indicators": {
"caps_lock": "B6",
"on_state": 0
diff --git a/keyboards/exclusive/e6v2/le/config.h b/keyboards/exclusive/e6v2/le/config.h
index c560e06a75..65bd782b7e 100644
--- a/keyboards/exclusive/e6v2/le/config.h
+++ b/keyboards/exclusive/e6v2/le/config.h
@@ -40,10 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 12
#endif
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 2
-#define BACKLIGHT_BREAHTING
-#endif
-
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/exclusive/e6v2/le/info.json b/keyboards/exclusive/e6v2/le/info.json
index ac3a613736..10ad0c9383 100644
--- a/keyboards/exclusive/e6v2/le/info.json
+++ b/keyboards/exclusive/e6v2/le/info.json
@@ -9,6 +9,9 @@
"device_version": "0.0.2"
},
"backlight": {
+ "pin": "B6",
+ "levels": 2,
+ "breathing": true,
"breathing_period": 3
},
"indicators": {
diff --git a/keyboards/exclusive/e6v2/le_bmc/config.h b/keyboards/exclusive/e6v2/le_bmc/config.h
index 29588aefe9..c9d14bff4d 100644
--- a/keyboards/exclusive/e6v2/le_bmc/config.h
+++ b/keyboards/exclusive/e6v2/le_bmc/config.h
@@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/exclusive/e6v2/le_bmc/info.json b/keyboards/exclusive/e6v2/le_bmc/info.json
index 5b34e2f413..51afd7c5ad 100644
--- a/keyboards/exclusive/e6v2/le_bmc/info.json
+++ b/keyboards/exclusive/e6v2/le_bmc/info.json
@@ -7,6 +7,9 @@
"pid": "0xE62D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
diff --git a/keyboards/exclusive/e6v2/oe/config.h b/keyboards/exclusive/e6v2/oe/config.h
index b43acd5a93..88ec4faa04 100644
--- a/keyboards/exclusive/e6v2/oe/config.h
+++ b/keyboards/exclusive/e6v2/oe/config.h
@@ -40,10 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 12
#endif
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#define BACKLIGHT_BREAHTING
-#endif
-
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/exclusive/e6v2/oe/info.json b/keyboards/exclusive/e6v2/oe/info.json
index 70e57d3678..bfa408c556 100644
--- a/keyboards/exclusive/e6v2/oe/info.json
+++ b/keyboards/exclusive/e6v2/oe/info.json
@@ -9,6 +9,9 @@
"device_version": "0.0.2"
},
"backlight": {
+ "pin": "B6",
+ "levels": 5,
+ "breathing": true,
"breathing_period": 3
},
"processor": "atmega32u4",
diff --git a/keyboards/exclusive/e6v2/oe_bmc/config.h b/keyboards/exclusive/e6v2/oe_bmc/config.h
index 29588aefe9..c9d14bff4d 100644
--- a/keyboards/exclusive/e6v2/oe_bmc/config.h
+++ b/keyboards/exclusive/e6v2/oe_bmc/config.h
@@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/exclusive/e6v2/oe_bmc/info.json b/keyboards/exclusive/e6v2/oe_bmc/info.json
index c5719f48fd..6716f99c98 100644
--- a/keyboards/exclusive/e6v2/oe_bmc/info.json
+++ b/keyboards/exclusive/e6v2/oe_bmc/info.json
@@ -7,6 +7,9 @@
"pid": "0xE62B",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
diff --git a/keyboards/exclusive/e7v1/config.h b/keyboards/exclusive/e7v1/config.h
index ba94a214a3..46944506a1 100644
--- a/keyboards/exclusive/e7v1/config.h
+++ b/keyboards/exclusive/e7v1/config.h
@@ -8,11 +8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 6
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/exclusive/e7v1/info.json b/keyboards/exclusive/e7v1/info.json
index 88a7563b47..d014e6d47c 100644
--- a/keyboards/exclusive/e7v1/info.json
+++ b/keyboards/exclusive/e7v1/info.json
@@ -8,6 +8,10 @@
"pid": "0xE701",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 6
+ },
"indicators": {
"caps_lock": "F0"
},
diff --git a/keyboards/exclusive/e7v1se/config.h b/keyboards/exclusive/e7v1se/config.h
index 0d83c02c6f..3da5cb8935 100644
--- a/keyboards/exclusive/e7v1se/config.h
+++ b/keyboards/exclusive/e7v1se/config.h
@@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16
diff --git a/keyboards/exclusive/e7v1se/info.json b/keyboards/exclusive/e7v1se/info.json
index 92acc0c8b3..9994741f24 100644
--- a/keyboards/exclusive/e7v1se/info.json
+++ b/keyboards/exclusive/e7v1se/info.json
@@ -8,6 +8,10 @@
"pid": "0x7051",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/exclusive/e85/config.h b/keyboards/exclusive/e85/config.h
index 651b210fd6..8d01fe2faf 100644
--- a/keyboards/exclusive/e85/config.h
+++ b/keyboards/exclusive/e85/config.h
@@ -36,10 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 18
diff --git a/keyboards/exclusive/e85/hotswap/info.json b/keyboards/exclusive/e85/hotswap/info.json
index cd1d07fed5..0065b2b84c 100644
--- a/keyboards/exclusive/e85/hotswap/info.json
+++ b/keyboards/exclusive/e85/hotswap/info.json
@@ -8,6 +8,11 @@
"pid": "0xE851",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/exclusive/e85/soldered/info.json b/keyboards/exclusive/e85/soldered/info.json
index 1ba7d22f73..cda9f689cd 100644
--- a/keyboards/exclusive/e85/soldered/info.json
+++ b/keyboards/exclusive/e85/soldered/info.json
@@ -8,6 +8,11 @@
"pid": "0xE852",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {