1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1003 changed files with 1873 additions and 1684 deletions

View file

@ -30,11 +30,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* Switch LED Backlighting */
#define BACKLIGHT_PIN C4
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
// ws2812 options
#define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to
#define RGBLIGHT_EFFECT_BREATHING

View file

@ -8,6 +8,11 @@
"pid": "0x5344",
"device_version": "0.0.1"
},
"backlight": {
"pin": "C4",
"levels": 6,
"breathing": true
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {

View file

@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes # Enable rotary encoder