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/ai03/equinox/rev0/config.h | 5 ----- keyboards/ai03/equinox/rev0/info.json | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'keyboards/ai03/equinox/rev0') diff --git a/keyboards/ai03/equinox/rev0/config.h b/keyboards/ai03/equinox/rev0/config.h index be599c1225..78c6fb8fcd 100644 --- a/keyboards/ai03/equinox/rev0/config.h +++ b/keyboards/ai03/equinox/rev0/config.h @@ -20,8 +20,3 @@ along with this program. If not, see . // Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins #undef MATRIX_COL_PINS #define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 } - -// This directs backlight code to use a disconnected pin, so the firwmare still has -// backlight code and VIA support even though it doesn't do anything. -#undef BACKLIGHT_PIN -#define BACKLIGHT_PIN D1 \ No newline at end of file diff --git a/keyboards/ai03/equinox/rev0/info.json b/keyboards/ai03/equinox/rev0/info.json index dd190d18ee..d76623777e 100644 --- a/keyboards/ai03/equinox/rev0/info.json +++ b/keyboards/ai03/equinox/rev0/info.json @@ -1,4 +1,9 @@ { + "backlight": { + "pin": "D1", + "levels": 5, + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu" } -- cgit v1.2.3