summaryrefslogtreecommitdiff
path: root/keyboards/skeletn87
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/skeletn87
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/skeletn87')
-rw-r--r--keyboards/skeletn87/hotswap/config.h4
-rw-r--r--keyboards/skeletn87/hotswap/info.json5
-rw-r--r--keyboards/skeletn87/soldered/config.h4
-rw-r--r--keyboards/skeletn87/soldered/info.json5
4 files changed, 10 insertions, 8 deletions
diff --git a/keyboards/skeletn87/hotswap/config.h b/keyboards/skeletn87/hotswap/config.h
index 56bdd8e8c9..5307bcd65a 100644
--- a/keyboards/skeletn87/hotswap/config.h
+++ b/keyboards/skeletn87/hotswap/config.h
@@ -25,10 +25,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_LEVELS 8
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B3
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/skeletn87/hotswap/info.json b/keyboards/skeletn87/hotswap/info.json
index cf326cff80..39b296a679 100644
--- a/keyboards/skeletn87/hotswap/info.json
+++ b/keyboards/skeletn87/hotswap/info.json
@@ -8,6 +8,11 @@
"pid": "0xB5E9",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 8,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
diff --git a/keyboards/skeletn87/soldered/config.h b/keyboards/skeletn87/soldered/config.h
index 5f140d1f25..095b95d13c 100644
--- a/keyboards/skeletn87/soldered/config.h
+++ b/keyboards/skeletn87/soldered/config.h
@@ -25,10 +25,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_LEVELS 8
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/skeletn87/soldered/info.json b/keyboards/skeletn87/soldered/info.json
index 20c94f4625..32ed0e6f0e 100644
--- a/keyboards/skeletn87/soldered/info.json
+++ b/keyboards/skeletn87/soldered/info.json
@@ -8,6 +8,11 @@
"pid": "0xB5E8",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 8,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0