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/gon/nerd60/config.h | 4 ---- keyboards/gon/nerd60/info.json | 3 +++ keyboards/gon/nerdtkl/config.h | 4 ---- keyboards/gon/nerdtkl/info.json | 3 +++ 4 files changed, 6 insertions(+), 8 deletions(-) (limited to 'keyboards/gon') diff --git a/keyboards/gon/nerd60/config.h b/keyboards/gon/nerd60/config.h index bcce53200f..c3762c6388 100644 --- a/keyboards/gon/nerd60/config.h +++ b/keyboards/gon/nerd60/config.h @@ -1,9 +1,5 @@ #pragma once - -/* backlight */ -#define BACKLIGHT_PIN B7 - /* matrix pins */ #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 } #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5 } diff --git a/keyboards/gon/nerd60/info.json b/keyboards/gon/nerd60/info.json index 1bd845764e..097d4d45c0 100644 --- a/keyboards/gon/nerd60/info.json +++ b/keyboards/gon/nerd60/info.json @@ -8,6 +8,9 @@ "pid": "0x3630", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "bootmagic": { "matrix": [8, 0] }, diff --git a/keyboards/gon/nerdtkl/config.h b/keyboards/gon/nerdtkl/config.h index 29bbb513a6..8db20474be 100644 --- a/keyboards/gon/nerdtkl/config.h +++ b/keyboards/gon/nerdtkl/config.h @@ -1,9 +1,5 @@ #pragma once - -/* backlight */ -#define BACKLIGHT_PIN B7 - /* matrix pins */ #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 } #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5, D1 } diff --git a/keyboards/gon/nerdtkl/info.json b/keyboards/gon/nerdtkl/info.json index 2381b25d7c..f9e38f0c89 100644 --- a/keyboards/gon/nerdtkl/info.json +++ b/keyboards/gon/nerdtkl/info.json @@ -8,6 +8,9 @@ "pid": "0x5244", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "bootmagic": { "matrix": [8, 0] }, -- cgit v1.2.3