summaryrefslogtreecommitdiff
path: root/keyboards/anavi/macropad8
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/anavi/macropad8
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/anavi/macropad8')
-rw-r--r--keyboards/anavi/macropad8/config.h2
-rw-r--r--keyboards/anavi/macropad8/info.json12
2 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/anavi/macropad8/config.h b/keyboards/anavi/macropad8/config.h
index 526f673ab9..fce7328718 100644
--- a/keyboards/anavi/macropad8/config.h
+++ b/keyboards/anavi/macropad8/config.h
@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define BACKLIGHT_PIN D7
-#define BACKLIGHT_BREATHING
#define RGBLIGHT_SLEEP
diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json
index b152a7c1f1..b52ca5a176 100644
--- a/keyboards/anavi/macropad8/info.json
+++ b/keyboards/anavi/macropad8/info.json
@@ -4,10 +4,14 @@
"url": "",
"maintainer": "leon-anavi",
"usb": {
- "vid": "0xCEEB",
- "pid": "0x0001",
- "device_version": "0.0.1"
- },
+ "vid": "0xCEEB",
+ "pid": "0x0001",
+ "device_version": "0.0.1"
+ },
+ "backlight": {
+ "pin": "D7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {