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/monstargear/xo87/solderable/config.h | 2 -- keyboards/monstargear/xo87/solderable/info.json | 4 ++++ keyboards/monstargear/xo87/solderable/rules.mk | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'keyboards/monstargear') diff --git a/keyboards/monstargear/xo87/solderable/config.h b/keyboards/monstargear/xo87/solderable/config.h index a4cf5c8038..65c76647ab 100644 --- a/keyboards/monstargear/xo87/solderable/config.h +++ b/keyboards/monstargear/xo87/solderable/config.h @@ -19,8 +19,6 @@ #define brightnessMax 8 -#define BACKLIGHT_PIN F0 - #define MATRIX_ROW_PINS { E6,E7,E3,B0,B1,A2} #define MATRIX_COL_PINS { C5,C3,C1,E1,D6,D2,B7,B3,F6,F7,F3,A5,A1,E2,C7,A6 } diff --git a/keyboards/monstargear/xo87/solderable/info.json b/keyboards/monstargear/xo87/solderable/info.json index 8a6e4984d6..f3a8ca1657 100644 --- a/keyboards/monstargear/xo87/solderable/info.json +++ b/keyboards/monstargear/xo87/solderable/info.json @@ -8,6 +8,10 @@ "pid": "0x5344", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "pin": "F0" + }, "processor": "at90usb646", "bootloader": "lufa-dfu", "layouts": { diff --git a/keyboards/monstargear/xo87/solderable/rules.mk b/keyboards/monstargear/xo87/solderable/rules.mk index f015ea5d01..d845a512bb 100644 --- a/keyboards/monstargear/xo87/solderable/rules.mk +++ b/keyboards/monstargear/xo87/solderable/rules.mk @@ -10,4 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -BACKLIGHT_DRIVER = custom -- cgit v1.2.3