diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-26 08:37:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 08:37:57 +1100 |
commit | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch) | |
tree | 8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/mechlovin/mechlovin9/rev2 | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/mechlovin/mechlovin9/rev2')
-rw-r--r-- | keyboards/mechlovin/mechlovin9/rev2/config.h | 3 | ||||
-rw-r--r-- | keyboards/mechlovin/mechlovin9/rev2/info.json | 4 |
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" }, |