Move backlight config to data driven (#19910)
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
#define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 }
|
||||
#define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 }
|
||||
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
|
@@ -9,7 +9,9 @@
|
||||
"device_version": "0.2.0"
|
||||
},
|
||||
"backlight": {
|
||||
"pins": ["D6"]
|
||||
"driver": "software",
|
||||
"pins": ["D6"],
|
||||
"levels": 6
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B7",
|
||||
|
@@ -8,6 +8,5 @@ CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
BACKLIGHT_DRIVER = software # Software-driven backlight driver
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
Reference in New Issue
Block a user