summaryrefslogtreecommitdiff
path: root/keyboards/custommk
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/custommk
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/custommk')
-rw-r--r--keyboards/custommk/evo70/config.h4
-rw-r--r--keyboards/custommk/evo70/info.json5
2 files changed, 4 insertions, 5 deletions
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",