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/jc65/v32a/config.h | 2 -- keyboards/jc65/v32a/info.json | 3 +++ keyboards/jc65/v32u4/config.h | 2 -- keyboards/jc65/v32u4/info.json | 3 +++ 4 files changed, 6 insertions(+), 4 deletions(-) (limited to 'keyboards/jc65') diff --git a/keyboards/jc65/v32a/config.h b/keyboards/jc65/v32a/config.h index 4d27750629..62501a05d1 100644 --- a/keyboards/jc65/v32a/config.h +++ b/keyboards/jc65/v32a/config.h @@ -22,8 +22,6 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 16 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/jc65/v32a/info.json b/keyboards/jc65/v32a/info.json index b03bb73a6e..b9693c8e72 100644 --- a/keyboards/jc65/v32a/info.json +++ b/keyboards/jc65/v32a/info.json @@ -8,6 +8,9 @@ "pid": "0x5679", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/jc65/v32u4/config.h b/keyboards/jc65/v32u4/config.h index f7a182895a..eca08d7d92 100644 --- a/keyboards/jc65/v32u4/config.h +++ b/keyboards/jc65/v32u4/config.h @@ -40,6 +40,4 @@ along with this program. If not, see . #define RGBLIGHT_VAL_STEP 8 #endif -#define BACKLIGHT_PIN B6 - #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/jc65/v32u4/info.json b/keyboards/jc65/v32u4/info.json index 76adb227c7..e20dccdbfa 100644 --- a/keyboards/jc65/v32u4/info.json +++ b/keyboards/jc65/v32u4/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.2" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "B2", "on_state": 0 -- cgit v1.2.3