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/kegen/gboy/config.h | 5 ----- keyboards/kegen/gboy/info.json | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'keyboards/kegen') diff --git a/keyboards/kegen/gboy/config.h b/keyboards/kegen/gboy/config.h index 18b255aec7..e9ad8c2fee 100644 --- a/keyboards/kegen/gboy/config.h +++ b/keyboards/kegen/gboy/config.h @@ -25,11 +25,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 15 -#endif - #define RGB_DI_PIN D1 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kegen/gboy/info.json b/keyboards/kegen/gboy/info.json index f59808bf11..909eb6c568 100644 --- a/keyboards/kegen/gboy/info.json +++ b/keyboards/kegen/gboy/info.json @@ -8,6 +8,10 @@ "pid": "0x6762", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 15 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { -- cgit v1.2.3