summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/mechlovin9/rev2
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/mechlovin9/rev2
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/mechlovin/mechlovin9/rev2')
-rw-r--r--keyboards/mechlovin/mechlovin9/rev2/config.h3
-rw-r--r--keyboards/mechlovin/mechlovin9/rev2/info.json4
2 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/mechlovin/mechlovin9/rev2/config.h b/keyboards/mechlovin/mechlovin9/rev2/config.h
index aa8c9db9f3..f550a2e39a 100644
--- a/keyboards/mechlovin/mechlovin9/rev2/config.h
+++ b/keyboards/mechlovin/mechlovin9/rev2/config.h
@@ -29,6 +29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 }
#define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 }
-
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_BREATHING
diff --git a/keyboards/mechlovin/mechlovin9/rev2/info.json b/keyboards/mechlovin/mechlovin9/rev2/info.json
index 47fdf4973d..c0e94e7638 100644
--- a/keyboards/mechlovin/mechlovin9/rev2/info.json
+++ b/keyboards/mechlovin/mechlovin9/rev2/info.json
@@ -4,6 +4,10 @@
"pid": "0x6509",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "D4",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A7"
},