summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/infinity87/rev1
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/mechlovin/infinity87/rev1
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/mechlovin/infinity87/rev1')
-rw-r--r--keyboards/mechlovin/infinity87/rev1/config.h2
-rw-r--r--keyboards/mechlovin/infinity87/rev1/info.json4
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/mechlovin/infinity87/rev1/config.h b/keyboards/mechlovin/infinity87/rev1/config.h
index 7de2a2cc79..e03ee6dded 100644
--- a/keyboards/mechlovin/infinity87/rev1/config.h
+++ b/keyboards/mechlovin/infinity87/rev1/config.h
@@ -19,8 +19,6 @@
#define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 }
#define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7, B1, B2, B10, B3, B14, B15 }
-#define BACKLIGHT_PIN B0
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
diff --git a/keyboards/mechlovin/infinity87/rev1/info.json b/keyboards/mechlovin/infinity87/rev1/info.json
index 0bcf668f11..be094e09ae 100644
--- a/keyboards/mechlovin/infinity87/rev1/info.json
+++ b/keyboards/mechlovin/infinity87/rev1/info.json
@@ -1,4 +1,8 @@
{
+ "backlight": {
+ "pin": "B0",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A4",
"scroll_lock": "A8"