Move backlight config to data driven (#19910)

This commit is contained in:
Ryan
2023-02-26 08:37:57 +11:00
committed by GitHub
parent ba7546a334
commit 314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions

View File

@@ -19,8 +19,6 @@
#define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 }
#define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7, B1, B2, B10, B3, B14, B15 }
#define BACKLIGHT_PIN B0
#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3

View File

@@ -1,4 +1,8 @@
{
"backlight": {
"pin": "B0",
"breathing": true
},
"indicators": {
"caps_lock": "A4",
"scroll_lock": "A8"

View File

@@ -34,9 +34,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define BACKLIGHT_PIN B6
#define BACKLIGHT_BREATHING
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN E2
#define RGBLED_NUM 24

View File

@@ -8,6 +8,10 @@
"pid": "0x8702",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B6",
"breathing": true
},
"indicators": {
"caps_lock": "D6",
"num_lock": "D7",