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/ncc1701kb/config.h | 4 ---- keyboards/ncc1701kb/info.json | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'keyboards/ncc1701kb') diff --git a/keyboards/ncc1701kb/config.h b/keyboards/ncc1701kb/config.h index 09207fb27a..959be9fb72 100644 --- a/keyboards/ncc1701kb/config.h +++ b/keyboards/ncc1701kb/config.h @@ -22,10 +22,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D4, D6, D7 } #define MATRIX_COL_PINS { B4, B5, B6 } -/* BackLight */ -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /*Encoders */ #define ENCODERS_PAD_A { D0 } #define ENCODERS_PAD_B { D1 } diff --git a/keyboards/ncc1701kb/info.json b/keyboards/ncc1701kb/info.json index 41c76f52f5..9c26601ae9 100644 --- a/keyboards/ncc1701kb/info.json +++ b/keyboards/ncc1701kb/info.json @@ -8,6 +8,10 @@ "pid": "0x1701", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { -- cgit v1.2.3