Move backlight config to data driven (#19910)
This commit is contained in:
@@ -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 \
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x5444",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "software",
|
||||
"pin": "B14",
|
||||
"levels": 5
|
||||
},
|
||||
"debounce": 1,
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user