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

@@ -18,11 +18,8 @@
#define DIODE_DIRECTION COL2ROW
/* Backlighting include */
#define BACKLIGHT_PIN B14
#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_LEVELS 5
/* Encoder */
#define ENCODERS_PAD_A \

View File

@@ -8,6 +8,11 @@
"pid": "0x5444",
"device_version": "0.0.1"
},
"backlight": {
"driver": "software",
"pin": "B14",
"levels": 5
},
"debounce": 1,
"layouts": {
"LAYOUT": {

View File

@@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
BACKLIGHT_DRIVER = software
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
SLEEP_LED_ENABLE = yes