From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 08:37:57 +1100 Subject: Move backlight config to data driven (#19910) --- keyboards/custommk/evo70/config.h | 4 ---- keyboards/custommk/evo70/info.json | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'keyboards/custommk') diff --git a/keyboards/custommk/evo70/config.h b/keyboards/custommk/evo70/config.h index 9f27a458b7..d73f5b1823 100644 --- a/keyboards/custommk/evo70/config.h +++ b/keyboards/custommk/evo70/config.h @@ -19,10 +19,6 @@ #define OLED_UPDATE_INTERVAL 33 -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 17 -#define BACKLIGHT_BREATHING - #define OLED_DISABLE_TIMEOUT #define ENCODERS_PAD_A { C7 } diff --git a/keyboards/custommk/evo70/info.json b/keyboards/custommk/evo70/info.json index e5d2327518..824edd4277 100644 --- a/keyboards/custommk/evo70/info.json +++ b/keyboards/custommk/evo70/info.json @@ -10,7 +10,10 @@ "device_version": "0.0.1" }, "backlight": { - "on_state": 0 + "pin": "B5", + "levels": 17, + "on_state": 0, + "breathing": true }, "processor": "atmega32u4", "bootloader": "qmk-dfu", -- cgit v1.2.3