Move backlight config to data driven (#19910)
This commit is contained in:
parent
ba7546a334
commit
314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions
|
@ -20,9 +20,6 @@
|
|||
#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN B7
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
#define RGB_DI_PIN D5
|
||||
#define RGB_MATRIX_LED_COUNT 31
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
"pid": "0x7325",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B7",
|
||||
"levels": 5
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -8,7 +8,6 @@ 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 = pwm
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
|
|
|
@ -21,12 +21,6 @@
|
|||
#define MATRIX_COL_PINS { B13, B14, B3, A4, A6 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Backlight */
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
#define BACKLIGHT_PIN B11
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#endif
|
||||
|
||||
/* RGB Matrix */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
#define RGB_DI_PIN B12
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "software",
|
||||
"pin": "B11",
|
||||
"levels": 5,
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
|
|
|
@ -12,7 +12,6 @@ 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
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue