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

@@ -44,10 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Reverse encoder direction */
// #define ENCODER_DIRECTION_FLIP
/* Backlighting code used for caps lock indicator */
#define BACKLIGHT_PIN C6
#define BACKLIGHT_LEVELS 16
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -8,6 +8,10 @@
"pid": "0x5754",
"device_version": "0.0.1"
},
"backlight": {
"pin": "C6",
"levels": 16
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -12,5 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes # Enable encoder support
LTO_ENABLE = yes
BACKLIGHT_DRIVER = pwm